Retrieve attachments from e-mail

-1

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

apribojimas

Posted 2010-09-03T11:13:06.987

Reputation: 1

Question was closed 2016-12-03T02:05:32.007

3Which mail client ? Outlook, Thunderbird etc. – harrymc – 2010-09-03T11:28:09.280

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 – 2010-09-06T16:26:01.460

Answers

3

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...

sleske

Posted 2010-09-03T11:13:06.987

Reputation: 19 887