P is for Practical | |
PerlMonks |
Re: Extracting attachments from an IMAP mailboxby hipowls (Curate) |
on Mar 20, 2008 at 12:37 UTC ( [id://675204]=note: print w/replies, xml ) | Need Help?? |
You use Mail::IMAPClient to retrieve messages. To parse them you need another tool, take a look at MIME::Tools, it will do what you want. There is an example script, examples/mimeexplode that shows how to disassemble a multipart message.
In Section
Seekers of Perl Wisdom
|
|