Open Bug 659662 Opened 13 years ago Updated 2 years ago

Thunderbird "Save As" function changes contents of email

Categories

(MailNews Core :: MIME, defect)

defect

Tracking

(Not tracked)

People

(Reporter: dcooper16, Unassigned)

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

When the "Save As" function is used in Thunderbird for an HTML encoded email message created in by Microsoft Outlook one of the lines in the message is changed.  Within the message, in HTML encoded portion of the email in the "Style Definitions" section there is a line that says:

.MsoChpDefault
	{mso-style-type:export-only;}

When the message is saved using the "Save As" function, this appears in the saved file as:

MsoChpDefault
	{mso-style-type:export-only;}

In most cases, the deletion of the period (".") character does no harm.  However, if the email is digitally signed then the deletion of this character will make the signature on the email invalid.  If the saved email is opened in Thunderbird (e.g., using the "Open Saved Message..." function) then the message will be displayed with a warning that it contains a signature that is invalid.

Reproducible: Always

Steps to Reproduce:
1. Create HTML encoded email using Microsoft Outlook
2. Retrieve email using Thunderbird.  View source of email to verify that it contains a line that begins ".MsoChpDefault".
3. Use "Save As" function to save email to a file.


Actual Results:  
The line in the saved message with "MsoChpDefault" does not begin with a period (".") as it did in the message that was actually received by Thunderbird.

Expected Results:  
The saved message should have been exactly the same as the message in Thunderbird's mailbox file.
David can you attach simple testcase ?

I know there's a bug in bmo about a . being removed but can't find it :(
I copied this message directly from the mail server's spool directory and also verified the digital signature on the file in order to ensure that this copy is unaltered.  Here is the trust anchor certificate needed to verify the signature on this email:

-----BEGIN CERTIFICATE-----
MIIEujCCA6KgAwIBAgIBATANBgkqhkiG9w0BAQsFADBvMQswCQYDVQQGEwJVUzEf
MB0GA1UEChMWVGVzdCBDZXJ0aWZpY2F0ZXMgMjAxMDEQMA4GA1UECxMHVGVzdCBD
QTEtMCsGA1UEAxMkVGVzdC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K83TJHd7CmAsFUwDgYDVR0P
AQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAKFA
HXu0/64wTGGB2+9XVRgTj5Eoe1P42jeaA+E8qkc/KpMkvH02Yv0vxGXpwJLVV5bg
Y5TDVjSvjuBS0DByIcCCRwwdbv+fEB+fx5oeFYWsZj6kQ1O5QCrH4PySNghpEPS2
qu8Ms6O6DPTbtCDwHReiofh674lBP4tFyj8UkjxgErvZlH7dfKvYMpOe9iIue2QM
hUX4H1DgLAOkgbTZWoWW4sbLrcKlWXcQAq5emJv1f7Mbp55JSthVAPCPvWS9iWWe
eZ773Y4J25SO6HjwM0GIHt04LgnIqORvUr0MWnTdAkANwk92Sb2vOQf253lLqaWM
83D16RMUYtVK0Y9W59o=
-----END CERTIFICATE-----
Attachment #535619 - Attachment mime type: application/octet-stream → message/rfc822
Email is structured as Content-Type: multipart/signed;
	protocol="application/x-pkcs7-signature";
	micalg=2.16.840.1.101.3.4.2.1;
	boundary="----=_NextPart_000_0050_01CC114D.6A71D220"

------=_NextPart_000_0050_01CC114D.6A71D220
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0051_01CC114D.6A71D220"

------=_NextPart_001_0051_01CC114D.6A71D220
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

------=_NextPart_001_0051_01CC114D.6A71D220
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

------=_NextPart_001_0051_01CC114D.6A71D220--

------=_NextPart_000_0050_01CC114D.6A71D220
Content-Type: application/x-pkcs7-signature;
	name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="smime.p7s"

------=_NextPart_000_0050_01CC114D.6A71D220--



Thunderbird doesn't like the fact that I try to forward this email (the eml is not inlined not attached when trying to forward that email).

Wayne, karsten what's the best way for me to preload the email in say a local folder ?
Component: Mail Window Front End → MIME
Keywords: testcase
Product: Thunderbird → MailNews Core
QA Contact: front-end → mime
I moved the email message into a new folder and attached a copy of the folder.  This file can simply be copied into Thunderbird's mail directory (e.g., .thunderbird/xxx.degault/Mail/Local Folders/) and then when Thunderbird is opened the folder with the email will appear within "Local Folders".
Status: UNCONFIRMED → NEW
Ever confirmed: true
Removing myslef on all the bugs I'm cced on. Please NI me if you need something on MailNews Core bugs from me.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: