Closed Bug 591888 Opened 14 years ago Closed 13 years ago

Can not open or save a valid .eml attachment, in multipart/mixed base64 encoded attachment.

Categories

(MailNews Core :: MIME, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 580017

People

(Reporter: yannick.barthol, Unassigned)

Details

(Keywords: regression, testcase, Whiteboard: [datalossy] dupme)

Attachments

(2 files)

User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2Mozilla/5.0 (Windows NT 5.1; rv:2.0b5pre) Gecko/20100820 Shredder/3.2a1pre When I try to open the attachment of the test1.eml I got pop-up telling me that "This attachment appears to be empty". Also, when trying to save the attachment, a window opened asking me where to save the file, and then when wlking on "Save", nothign happened, the file is not saved. If I doesn't use Thunderbird to view "test1.eml", I can open or save the .eml attachment. Once the attachment as been save of my hard drive (test2.eml), Thunderbird can open it. So it seems that the .eml attachment is valid. Please note that this problem can not be reproduised with a previous version of Thunderbird (version 2.0.0.24 (20100228)). Reproducible: Always Steps to Reproduce: 1. Save test1.eml of tyou hard drive 2. Open it with Thunderbird 3. Try to open or save the .eml attachment (named contact contact1145076654.eml ) 4. Save the contact1145076654.eml file on you hard drive (this file is the attached eml file from test1.eml, save by using an other email client) 5. Open it with Thunderbird, it works
Attached file test1.eml
Attached file contact1145076654.eml
Please note that in the description, refereces to "test2.eml" should be understood as referece to "contact1145076654.eml" (Sorry but I don't know how I can edit the description of the bug to correct this)
Confirmed Mozilla/5.0 (Windows NT 6.1; rv:2.0b5pre) Gecko/20100830 Thunderbird/3.2a1pre ID:20100830033713
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: dataloss, testcase
Component: General → MIME
Keywords: datalossregression
Product: Thunderbird → MailNews Core
QA Contact: general → mime
Summary: Can not open or save a valid .eml attachment → Can not open or save a valid .eml attachment, in multipart/mixed base64 encoded attachment.
Whiteboard: [datalossy] dupme
Version: unspecified → Trunk
(In reply to comment #1) > test1.eml Content-type: is not proper message/rfc822. > ------=_Part_2_1059340068.1283157937493 > Content-Type: application/octet-stream; name=contact1145076654.eml What mailer in what environment generated such header for .eml file? Can you produce application/octet-stream for attached .eml file(or attached mail Tb has in Tb's mail folder) by your Tb in your environment? (In reply to comment #0) > Once the attachment as been save of my hard drive (test2.eml), > Thunderbird can open it. Trick is probably: File extention of .eml is associated to message/rfc822 in your environment. Windows registry : HKEY_CLASSES_ROOT\.eml / Content Type = message/rfc822 AFAIK, quirks for application/octet-stream works only for pre-defined file-extension and content-type combination in Tb(e.g. if .txt==text/plain or .htm=text/html, shown in inline, even if application/octet-stream). Can next be a workaround? (1) Copy the mail to a local mail folder. Edit mail folder file, change application/octet-stream to message/rfcXXX. (2) Restart Tb, Folder context menu, Repair Folder(rebuild-index) (3) Double click the attachment, choose notepad.exe at "Open" dialog with "do always"(or open always) checked. (4) Terminate Tb, edit mimeTypes.rdf in profile directory, change all "message/rfcXXX" to "message/rfc822", restart Tb, at Tools/Options/Attachment, chose "Always Ask" of entry for message/rfc822 + .eml. (5) View the mail .eml part is shown in inline? (View/Display Attachmets in Inline=On)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: