Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was recently sent an email attachment that Gmail doesn't render. It's very important that I get access to this attachment, but I can't for the life of me figure out how. I know that the attachment was sent because I looked at the plain text, and saw this:

Content-Type: image/gif; name="image001.gif"
Content-Transfer-Encoding: base64
Content-ID: <image001.gif@01CC487A.BD9DFF00>
X-Attachment-Id: 8178a39d9dae1f7_0.1


(Continues like above for some time)


Note, to cut down on the size of this, and to ensure some privacy for what was emailed, I've omitted what is around maybe 500 lines of similar looking text.

So, my question is, how can I recover this image? I'm sure there has to be a way, that I'm not the only user to ever face this problem, but I'm having problems figuring it out.

share|improve this question
That just looks like header info. Isn't there somewhere else where it say "Download"? – KCotreau Aug 2 '11 at 3:55
up vote 3 down vote accepted

You could perhaps feed the text after X-Attachment-Id: 8178a39d9dae1f7_0.1 to a base64 decoder & save the recoded.. content as an image file?

share|improve this answer
Hmmm... That worked, but gave me an image that doesn't seem to contain anything interesting at all... Sigh. Guess they must have messed up the original. Thanks! – PearsonArtPhoto Aug 2 '11 at 4:28
welcome @Pearsonartphoto – Sathya Aug 2 '11 at 4:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.