Email body cut from forward but not from reply (steps to reproduce inside)
I got a complaint from a Thunderbird user that an email from a client, when forwarded to a coworker, arrived with the body of the message cut off. I tried to do the same from my own Thunderbird client, and got the same result. We both have updated versions.
I saved the email in an .eml file, and then left only enough of the content in order to reproduce the problem, which I'm pasting below. To reproduce the problem, paste the content below to a text file, rename the extension to .eml, and open it with Thunderbird. If you forward the message it will cut the paragraph in the body, but if you reply, it won't.
From: test <[email protected]> To: test <[email protected]> Subject: test Date: Wed, 9 Nov 2016 18:32:28 -0000 MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 Content-Type: multipart/mixed; boundary="----=_NextPart_002_0060_01D23AB7.A0C9C690"
=_NextPart_002_0060_01D23AB7.A0C9C690
Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1"
This text will disappear by hitting forward, but not by hitting reply.
所有回复 (2)
The format was messed up so I set up this link with it:
I believe your message is malformed.
If you construct the same message in Thunderbird, it treats the text as html and closes off with a matching boundary.
<font face="Helvetica, Arial, sans-serif">Date: Mon, 14 Nov 2016 22:11:05 +0000
And it both replies and forwards perfectly.
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101
Thunderbird/50.0
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="------------56FBC5D457440E4E314BADBF"
Content-Language: en-GB
This is a multi-part message in MIME format.
--------------56FBC5D457440E4E314BADBF
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
This text will disappear by hitting forward, but not by hitting reply.
--------------56FBC5D457440E4E314BADBF
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>test</title>
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Helvetica, Arial, sans-serif">This text will disappear
by hitting forward, but not by hitting reply.</font>
</body>
</html>
--------------56FBC5D457440E4E314BADBF--
</font>
Yours is incomplete
From: test <[email protected]>
It says it's multipart, but it's not even showing the whole of just one part.
To: test <[email protected]>
Subject: test
Date: Wed, 9 Nov 2016 18:32:28 -0000
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 15.0
Content-Type: multipart/mixed;
boundary="----=_NextPart_002_0060_01D23AB7.A0C9C690"
------=_NextPart_002_0060_01D23AB7.A0C9C690
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="iso-8859-1"
This text will disappear by hitting forward, but not by hitting reply.