X
Tap here to go to the mobile version of the site.

Safely share files online with encrypted links that “self-destruct.” Try Firefox Send.

Give hackers a swift kick in the cookies. See if your data has been affected by a breach with Firefox Monitor. Try it now.

Access your history, passwords and open tabs wherever you are with Sync. Connect a second device.

Support Forum

Issue with Mail Rendering with Images

  • No replies
  • 1 has this problem
Posted

Hello I got an application that send mails. I sent a mail with images ... See the image attached for rendering. The mail works for GMail on Web, Windows Live Mail and MailBird. But not with ThunderBird: only the first image is displayed and no text at all. Outlook is not working too..

What could be the reason ? I checked during hours but did not find why ... Different Content-Type were tested: multipart/alternative, multipart/mixed, multipart/related... It was working with mailBird but never with ThunderBird.

If I use multipart/related instead of multipart/alternative, I got the full mail but the images are not displayed (shown as space equivalent boxes).

Here is the mail source

From: "Thierry Marneffe" <thierry.marneffe@skynet.be> To: <thierry.marneffe@skynet.be> Subject: A simple Mail with small images X-Mailer: TGMDev Hermes 1.0 Date: Sun, 17 Mar 2019 13:47:44 +0100 Message-ID: <14E40BE94CDC4C91A7369F3676E62F2D@relay.skynet.be> Return-Path: <thierry.marneffe@skynet.be> Reply-To: <thierry.marneffe@skynet.be> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="BC9D9B127F964FAEB2587E1E52741533" X-Brightmail-Tracker: AAAABTO5r7QzuPlkM7mvujPwI+IzueDs X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFqMTGxcIABLphjn0xBlMaGS32HfjO4sDocfzFe6YAxigOv/wSheCCxNwEjoye3RfYChgqQFQDI8MqRrnc0nLD4ozE4pLExKLipJzS1IKi/BTdslwDMNjECDV7B+P2izKnGCWlxHn3OvTFCAkUA83LKM0rSS2KLyrNSS1+xSjOwagkzPsBJMuTmVdSnJkOk5HgYFIS4RXZ0B0jxAu0CCEl1cBYX+yYVrG8fFfNqpYW4SDJ4mXJ3U66a/uMWOtfGKnt/pxYlePJqb9634IJhbV+q+QfKXLwZ+zl0Cg1fbcueNdps2liNyo7lgursm+LfVUveeVB2wXrss3d8nv31VprrllwJ7jFzel52/SlQQs/+n0NOPJ5MX/VlZ89yleipqZPzni4WWH+dU0lFqDvDbWYi4oTAbcM2D5NAQAA

--BC9D9B127F964FAEB2587E1E52741533 Content-Type: multipart/alternative; boundary="015699393F194D5B8CC36E6D537FD259"

--015699393F194D5B8CC36E6D537FD259 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable


First Image Second Image This mail is valid for GMail, MailBird, Windo ws LiveMail


--015699393F194D5B8CC36E6D537FD259 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

<meta content="text/html; charset=unicode" http-equiv="Content-=" type=""> <meta content="MSHTML 11.00.10570.1001" name="GENERATOR"> <body=> </body=>

First Image

"1959" contenttype=3D"image/jpeg" style=3D"-moz-user-select: none; width: 48= px;" unselectable=3D"on" tabindex=3D"-1" data-imgsize=3D"small" data-outlook=

-trace=3D"F:1|T:1" src=3D"cid:5951F7574A81">

Second Image
<= /P>

r-select: none; width: 150px;" unselectable=3D"on" tabindex=3D"-1" data-imgs=

ize=3D"small" data-outlook-trace=3D"F:1|T:1" src=3D"cid:F833D6774C21">
=


This mail is valid for GMail, MailBird, Windows Live Mai= l

=

--015699393F194D5B8CC36E6D537FD259--

--BC9D9B127F964FAEB2587E1E52741533 Content-Type: multipart/related; boundary=7C3D92E38E8A4262A6E894D2B1C6F37B

--7C3D92E38E8A4262A6E894D2B1C6F37B Content-Type: image/jpeg; name="Img_000.jpg" Content-Description: Img_000.jpg Content-Disposition: inline; filename="Img_000.jpg"; size:1959; creation-date="Wed, 13 Mar 2019 06:46:10 GMT"; modification-date="Wed, 13 Mar 2019 06:46:10 GMT" Content-ID: <5951F7574A81> Content-Transfer-Encoding: base64

/9j/4A....


--7C3D92E38E8A4262A6E894D2B1C6F37B Content-Type: image/jpeg; name="Img_001.jpg" Content-Description: Img_001.jpg Content-Disposition: inline; filename="Img_001.jpg"; size:9372; creation-date="Wed, 13 Mar 2019 06:46:10 GMT"; modification-date="Wed, 13 Mar 2019 06:46:10 GMT" Content-ID: <F833D6774C21> Content-Transfer-Encoding: base64

/9j/4A..........

Hello I got an application that send mails. I sent a mail with images ... See the image attached for rendering. The mail works for GMail on Web, Windows Live Mail and MailBird. But not with ThunderBird: only the first image is displayed and no text at all. Outlook is not working too.. What could be the reason ? I checked during hours but did not find why ... Different Content-Type were tested: multipart/alternative, multipart/mixed, multipart/related... It was working with mailBird but never with ThunderBird. If I use multipart/related instead of multipart/alternative, I got the full mail but the images are not displayed (shown as space equivalent boxes). Here is the mail source From: "Thierry Marneffe" <thierry.marneffe@skynet.be> To: <thierry.marneffe@skynet.be> Subject: A simple Mail with small images X-Mailer: TGMDev Hermes 1.0 Date: Sun, 17 Mar 2019 13:47:44 +0100 Message-ID: <14E40BE94CDC4C91A7369F3676E62F2D@relay.skynet.be> Return-Path: <thierry.marneffe@skynet.be> Reply-To: <thierry.marneffe@skynet.be> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="BC9D9B127F964FAEB2587E1E52741533" X-Brightmail-Tracker: AAAABTO5r7QzuPlkM7mvujPwI+IzueDs X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFqMTGxcIABLphjn0xBlMaGS32HfjO4sDocfzFe6YAxigOv/wSheCCxNwEjoye3RfYChgqQFQDI8MqRrnc0nLD4ozE4pLExKLipJzS1IKi/BTdslwDMNjECDV7B+P2izKnGCWlxHn3OvTFCAkUA83LKM0rSS2KLyrNSS1+xSjOwagkzPsBJMuTmVdSnJkOk5HgYFIS4RXZ0B0jxAu0CCEl1cBYX+yYVrG8fFfNqpYW4SDJ4mXJ3U66a/uMWOtfGKnt/pxYlePJqb9634IJhbV+q+QfKXLwZ+zl0Cg1fbcueNdps2liNyo7lgursm+LfVUveeVB2wXrss3d8nv31VprrllwJ7jFzel52/SlQQs/+n0NOPJ5MX/VlZ89yleipqZPzni4WWH+dU0lFqDvDbWYi4oTAbcM2D5NAQAA --BC9D9B127F964FAEB2587E1E52741533 Content-Type: multipart/alternative; boundary="015699393F194D5B8CC36E6D537FD259" --015699393F194D5B8CC36E6D537FD259 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable First Image Second Image This mail is valid for GMail, MailBird, Windo ws LiveMail --015699393F194D5B8CC36E6D537FD259 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <HTML><HEAD> <META content="text/html; charset=unicode" http-equiv=Content-= Type> <META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD> <BODY= > <DIV></DIV> <P align=left></P> <P>First Image</P> <P><div><img size=3D= "1959" contenttype=3D"image/jpeg" style=3D"-moz-user-select: none; width: 48= px;" unselectable=3D"on" tabindex=3D"-1" data-imgsize=3D"small" data-outlook= -trace=3D"F:1|T:1" src=3D"cid:5951F7574A81"></div></P> <P>Second Image<BR><= /P> <P><div><img size=3D"9372" contenttype=3D"image/jpeg" style=3D"-moz-use= r-select: none; width: 150px;" unselectable=3D"on" tabindex=3D"-1" data-imgs= ize=3D"small" data-outlook-trace=3D"F:1|T:1" src=3D"cid:F833D6774C21"></div>= </P> <P><BR>This mail is&nbsp;valid for GMail, MailBird, Windows Live Mai= l</P></BODY></HTML> = --015699393F194D5B8CC36E6D537FD259-- --BC9D9B127F964FAEB2587E1E52741533 Content-Type: multipart/related; boundary=7C3D92E38E8A4262A6E894D2B1C6F37B --7C3D92E38E8A4262A6E894D2B1C6F37B Content-Type: image/jpeg; name="Img_000.jpg" Content-Description: Img_000.jpg Content-Disposition: inline; filename="Img_000.jpg"; size:1959; creation-date="Wed, 13 Mar 2019 06:46:10 GMT"; modification-date="Wed, 13 Mar 2019 06:46:10 GMT" Content-ID: <5951F7574A81> Content-Transfer-Encoding: base64 /9j/4A.... --7C3D92E38E8A4262A6E894D2B1C6F37B Content-Type: image/jpeg; name="Img_001.jpg" Content-Description: Img_001.jpg Content-Disposition: inline; filename="Img_001.jpg"; size:9372; creation-date="Wed, 13 Mar 2019 06:46:10 GMT"; modification-date="Wed, 13 Mar 2019 06:46:10 GMT" Content-ID: <F833D6774C21> Content-Transfer-Encoding: base64 /9j/4A..........
Attached screenshots

Modified by TGMDev

Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36

More Information

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.