Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Rescue garbled attachments sent from 10.4 to Gmail Apps
There seems to be some issue with the way IMAP in Gmail handles attachments sent via Tiger's Mail.app -- they often appear as generic "mime-attachments" with no apparent way to decode them on the receiving end. While I'm not sure of where exactly the problem is being introduced, I have found a way to rescue these attachments.

The key comes from this hint. However, trying to use openssl on the mime-attachment will fail until you remove the headers. You need to delete the parts above the encoded data that look like this:
--Apple-Mail-3-1071339734
Content-Transfer-Encoding: base64
Content-Type: application/applefile;
	name=file.doc
Content-Disposition: attachment;
	filename="file.doc"
Take note of the filename, and then use it in the command referenced in the earlier hint like this:
openssl base64 -d -in mime-attachment -out file.doc
[robg adds: I haven't tested this one.]
    •    
  • Currently 2.40 / 5
  You rated: 5 / 5 (5 votes cast)
 
[9,263 views]  

Rescue garbled attachments sent from 10.4 to Gmail | 5 comments | Create New Account
Click here to return to the 'Rescue garbled attachments sent from 10.4 to Gmail' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Rescue garbled attachments sent from 10.4 to Gmail
Authored by: thype on Dec 09, '08 08:01:54AM

Do not know if it still works, but I used to just drop the email message on Stuffit Expander. You ended up with a folder with the message and the attachment inside.



[ Reply to This | # ]
Rescue garbled attachments sent from 10.4 to Gmail
Authored by: ptone on Dec 09, '08 09:26:10AM

At least in my cases - whatever is messed up in the headers is also throwing off stuffit expander. It looks like a case of a double header.



[ Reply to This | # ]
Rescue garbled attachments sent from 10.4 to Gmail
Authored by: David Fetrow on Dec 09, '08 01:49:19PM
If those don't work for you:

A general and useful tool for this kind of thing is: uudeview, available
from www.fpx.de/fp/Software/UUDEview

It's very good at extracting garbled uuencoded and mime-encoded attachments. It's also rather ancient but that's not entirely a bad thing;
it had to handle a lot of ugly cases. Command-line tool.





[ Reply to This | # ]
Rescue garbled attachments sent from 10.4 to Gmail
Authored by: metiure on Dec 09, '08 01:49:33PM

or you can use the excellent File Juicer to extract the attach.



[ Reply to This | # ]
Rescue garbled attachments sent from 10.4 to Gmail
Authored by: chr4004 on Dec 09, '08 02:51:47PM

So can somebody explain to me again under which circumstances this bug occurs? I have to send an email with 10.4 Mail and Gmail plus attachements which the receiver can't open?



[ Reply to This | # ]