I want to send a PHP inbox with inline / inline images (aka cid). Mail successfully sent and received correctly in Gmail. However, in Thunderbird (latest version for windows), the inline / inline image is not displayed.
I followed the information provided in this one , but it still does not work. Therefore, the inline / inline image is displayed in Gmail, but not in Thunderbird. Does anyone know a problem here?
To: example@example.com Subject: Test From: noreply@test.com <noreply> MIME-Version: 1.0 Content-Type: multipart/related; boundary="52cd9ebf4fb8c9b0547e93b82b3f3f6b" --52cd9ebf4fb8c9b0547e93b82b3f3f6b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Test mail</title> </head> <body> <img src="cid:myImage" alt="This is a embedded image" /> </body> </html> --52cd9ebf4fb8c9b0547e93b82b3f3f6b Content-Type: image/jpg; name="myImage.jpg" Content-Transfer-Encoding: base64 Content-ID: <myImage> Content-Disposition: inline; filename="myImage.jpg" [base64 encoded string goes here.] --52cd9ebf4fb8c9b0547e93b82b3f3f6b--
source share