When DSPAM mistakenly marks an email as spam, and it had contained an attachment, you often end up with something like this:
(...body of message)
------=_NextPart_000_0048_01C831CE.F20D96E0
Content-Type: application/msword;
name="Some_Word_Document.doc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="Some_Word_Document.doc"
0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAAEAAAAbwEAAAAAAAAA
EAAA9gEAAAEAAAD+////AAAAAG0BAABuAQAAcAE.....
(...large section of code representing the attached document)
The original attachment is converted to base64 text, and unviewable by the application (word, excel, whatever). So here’s a great little web page which lets you simply paste your base64 code into a text box, and it spits the converted document back at you as a download!
http://www.motobit.com/util/base64-decoder-encoder.asp
- Paste the lines of base64 code.
- Select the option decode the data from a Base64 string.
- Select the option export to a binary file and type in the filename (e.g. MyDoc.doc).
- Change character set to UTF-8 (I found this works for Word docs)
- Finally, press the button Convert the Source Data.
- Give it a minute, and you will see your document appear as a download! Very nice.
This could come in handy fairly often. Hope they don’t mind. ![]()