Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Looking for freeware which retrieve attachments from email. Save attachment to the disk, and after that remove email. Any suggestions?

share|improve this question
3  
Which mail client ? Outlook, Thunderbird etc. –  harrymc Sep 3 '10 at 11:28
    
Well, i don't need mail cliet as it is. I need just software without GUI, which I can run in order to retrieve attachements from email –  apribojimas Sep 6 '10 at 16:26

1 Answer 1

munpack will do just that.

The munpack program reads each RFC-822 message filename and writes all non-text MIME parts or split-uuencoded files as files. If no filename argument is given, munpack reads from standard input.

( http://linux.die.net/man/1/munpack )

For Linux, most distros have it in package mpack. No idea if there's a Windows or Mac port.

It expects the email messages as simple text files, one file per email. If you save an email in "plain text" from most email clients, that's what you get. Also, if you have a "maildir" email folder, mails will be in the right format.

Otherwise, you'd first need to somehow retrieve the mails in text format from your mail provider. But that's another question...

share|improve this answer

Your Answer

 
discard

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.