Utility for extracting MIME attachments

Posted by tripleee on Super User See other posts from Super User or by tripleee
Published on 2012-03-29T10:26:06Z Indexed on 2012/03/29 11:33 UTC
Read the original article Hit count: 255

Filed under:
|
|
|

I am looking for a command-line tool for Unix (ideally, available in a Debian / Ubuntu package) for extracting all MIME parts from a multipart email message (or the body from a singlepart with an interesting content-type, for that matter).

I have been using the mimeexplode tool which ships with the Perl MIME::Tools package, but it's not really production quality (the script is included as an example only, and has issues with what it regards as "evil" character sets) and I could certainly roll my own script based on that, but if this particular wheel has already been innovated, perhaps I shouldn't.

© Super User or respective owner

Related posts about command-line

Related posts about email