How can I download IMAP mail attachments over SSL and save them locally using Perl?

Posted by Octopus on Stack Overflow See other posts from Stack Overflow or by Octopus
Published on 2010-03-16T10:29:22Z Indexed on 2010/03/16 20:51 UTC
Read the original article Hit count: 186

Filed under:

I need suggestions on how can I download attachments from my IMAP mails which have attachments and current date in subject line i.e. YYYYMMDD format and save the attachments to a local path.

I went through the Perl module Mail::IMAPClient and am able to connect to the IMAP mail server, but need help on other tasks. One more thing to note is that my IMAP sever requires SSL auth.

© Stack Overflow or respective owner

Related posts about perl

Related posts about imap