User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:126.96.36.199) Gecko/20061204 Firefox/188.8.131.52 Build Identifier: 184.108.40.206 (20061207) An email was sent, using Apple's Mail.app, with a JPEG file attached. Thunderbird correctly displays the JPEG inline in the Message Window. However if you double-click on the JPEG in the attachments area of the message window, to save or open it, the resulting file is reported as being corrupt by image editing programs (eg: Preview, GraphicConverter 5.9, and Photoshop CS2). Reproducible: Didn't try Steps to Reproduce: Have not tried to reproduce it, but if requested I can probably do so. Things of note: 1. The JPEG is encoded by Mail.app with a Content-type of "application/applefile", which seems odd to me. 2. Using IMAP, the same email viewed with Win32 Thunderbird [220.127.116.11 (20060516)] decodes properly. The icon for it in the attachments area shows it as an MS Word document (likely due to #1). Despite this, it does open with the default JPEG/JPG program (likely because Windows puts much more faith in file extensions than OSX does). 3. It is possible to drag-and-drop the JPEG from the message window to the desktop which results in a viable file. 4. We have seen this on an Intel iMac and a MacBook Pro. Both are running under 10.4.8. More information available upon request.
A sample message would be useful -- save it as a .EML file and attach it to this bug, or forward it to me as an attachment (not inline) if the content is too sensitive to post.
Sent an example via email.
The "reported as corrupt" issue with appledouble attachments has been reported for programs running on Intel Macs -- bug 353529 / bug 361401. No solution as yet. > 1. The JPEG is encoded by Mail.app with a Content-type of > "application/applefile", which seems odd to me. It's actually: multipart/appledouble part1: application/applefile <-- Mac resource fork part2: image/jpeg <-- actual image