[horde] Inline HTML claimed on mail with clean text/plain

Ben Green ben at bristolwireless.net
Tue Jul 21 15:31:13 UTC 2015


Hi all,

an odd issue has arisen with an email sent from Thuderbird. From what  
I can tell Thunderbird is doing the right thing, and IMP is responding  
unusually.

I've copied in the portent bits of two mails ion below. They are  
identical except that the signature on the first mail is a link, on  
the second mail it contains an embedded image.

Both present a valid, HTML free text/plain section. For the first mail  
I can see the content perfectly. For the second mail I get: "This  
message part contains HTML data, but inline HTML display is disabled."

This does not appear correct, the mail contains a valid text/plain  
section with no HTML, which in the case of the first mail is displayed  
as per my preferences.

Any idea what's going on here? Surely the plain/text section should be  
display, and an image reference in the text/html section shouldn't be  
relevant.

Cheers,
Ben

===================================================================
First Mail:



To: beng at 3ca.org.uk
Subject: test
Content-Type: multipart/alternative;
  boundary="------------060301000607060101080603"

This is a multi-part message in MIME format.
--------------060301000607060101080603
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit


-- 
Test Link <http://horde.org>

--------------060301000607060101080603
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
   <head>

     <meta http-equiv="content-type" content="text/html; charset=utf-8">
   </head>
   <body bgcolor="#FFFFFF" text="#000000">
     <br>
     <div class="moz-signature">-- <br>
       <a href="http://horde.org">Test Link</a></div>
   </body>
</html>

--------------060301000607060101080603--



===================================================================
Second Mail:

To: beng at 3ca.org.uk
Subject: test
Content-Type: multipart/alternative;
  boundary="------------040203040304020409050405"

This is a multi-part message in MIME format.
--------------040203040304020409050405
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit


-- 

--------------040203040304020409050405
Content-Type: multipart/related;
  boundary="------------010007000200010706020808"


--------------010007000200010706020808
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
   <head>

     <meta http-equiv="content-type" content="text/html; charset=utf-8">
   </head>
   <body bgcolor="#FFFFFF" text="#000000">
     <br>
     <div class="moz-signature">-- <br>
       <img src="cid:part1.03010404.01020304 at 3ca.org.uk"></div>
   </body>
</html>

--------------010007000200010706020808
Content-Type: image/png;
  name="k45f0YAh_normal.png"
Content-Transfer-Encoding: base64
Content-ID: <part1.03010404.01020304 at 3ca.org.uk>
Content-Disposition: inline;
  filename="k45f0YAh_normal.png"

iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAI9klEQVRoBdXB63NcdR3A4c/3
d3ZPNiS7yeaQbE4LDTRNI02JgKIyImIpF2GqIiDjG8EyLcECIiDq9ML2AlNaaaHcSkEUZHzD
RcdByJEZQRTbhjYpSC9pUy4J0NILuTV7P7+vblBHx3+g+zwSeL5SwSTwfKWCSeD5SgWTwPOV
CiaB5ysVTALPVyqYBJ6vVDAJPF+pYBJ4vlLBJPB8pYJJ4PlKBZPA85UKJoHnKxVMAs9Xjneq
IML/UZDA85VKIAIiTFIFVcok8HzlOKaqlKkqWAsiiAhiDKqKBJ6vHM+MIcxkaLr065y8YD6R
mhoGH3+CQ79/AWstEni+8m/GgCqoggiIMEkVVEEVREAERPgPVVAFVSaJgDH8D1XUWkQEjAEU
rDLJGCZZC6ooICJgDOI4lEbHmNa1gFnr1iDA3hV3896GB9EwRALPV/5JrUXDEBFBHAdEsPkC
CBg3CsYBVRBBi0U0DEEBAXEcjBtFQwsilNlCAawyyQgmEkEiEWyxiIYhiGAcB0Sw+TwYg3Fd
/pstFBARbKHIydddy8wVy4gmEuxZupyhTY+j1iLdDc0qIri+T23bDMJcjszAfiTiUPeFs6Fk
GX3zTbLvvos4Dk4sRm1nJ1XNTYgxaFgif+Ago9v6QABriXoeiTM/SyQeR4BSJsNE/16O7d3H
CdOnk5h1GmEux8T+/WixRMN55xJmJhjp2Ubx8FEUxW1spP7zZxGtq+PIK3+m8cK5fGb1SqJ1
dexekmZo4ybUWuSlZEqNMZz0/WtoW/JT8ocO88lfXic171JMLAahYgs59t29muHXtzD74Qeo
mTEd47qYqirCTBYt5Bne1svbXYuond1Bx/3rcBuSONXViONgcznCb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WTwPOVCiaB5ysVTALPVyqYBJ6vVDAJPF+pYBJ4vlLBJPB8
pYJJ4PlKBfsHy1YG4z8FPV0AAAAASUVORK5CYIIgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
--------------010007000200010706020808--

--------------040203040304020409050405--



More information about the horde mailing list