Is there a (preferably command-line) MIME decoder available for windows (like ripMIME for *nix)?

Someone sent me a MIME encoded message (this one with multiple MIME parts) that Google mail nor Outlook can decode :-)

--jeroen

PS: I don't mean a base64 decoder like MimeDeEnCode by Werner Rumpeltesz (unlike the name it only decodes single base64 files, not single or multi-part MIME messages having MIME headers)

There are plenty other commandline base64 encoders I could use for that (and split the MIME file by hand into multiple base64 files first).

A good command-line base64 decoder is base64 by John Walker.

link|improve this question

67% accept rate
MIME-encoded? As in multipart messages? Or did you mean uuencoded or quoted printable? – Ignacio Vazquez-Abrams Apr 13 '10 at 16:54
feedback

4 Answers

I seem to recall that WinZip of all things can read and extract parts from a multipart message saved on disk.

link|improve this answer
WinZIP is not command-line, and I think it doesn't do multi-part MIME. But: your answer put me on the right track (see my own answer). +1 for getting me there. – Jeroen Wiert Pluimers Apr 13 '10 at 17:10
feedback

UUDeview didn't work for me, as there is no apparent support of the unicode .msg files my Outlook generates.

I did manage to find MsgText from the Enter AG guys, and it works almost exactly like ripMIME's defaults!

link|improve this answer
feedback

I have had success using munpack on Linux systems. This will go through an email message saved as a text file and extract embedded images into separate files that can then be renamed as desired.

ftp://ftp.andrew.cmu.edu/pub/mpack/

http://sourceforge.net/projects/mpack-win/

link|improve this answer
feedback
up vote 1 down vote accepted

Ignacio Vazquez-Abrams got me in the right direction.

Searching for winzip+mime, I found their knowledge base article, which had a link to UUDeview by Frank Pilhofer.

UUDeview is a tool for decoding all sorts of encoding, including MIME (and multi-part MIME too).
Even better: UUDeview 0.5.20 for Windows (Console) contains command-line Win32 executables for decoding and encoding.

This is the command I executed to extract all attachments from the MIME file:

uudeview -i inputfile.mime

/me is happy

--jeroen

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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