Hello all,
Although I have done this same thing in PHP and Java before I have an urgent need to accomplish it in Perl due to specific requirements.
What I need is to write an application that: - Access a pop3 remote account - Iterate through the list of messages on the server - Download the attachments and save them localy on the machine - delete all downloaded messages
requirements:
- only attachments ending with .txt and .zip should be saved, the rest must be ignored.
OK, so I need help and directions on this.
What are the Perl CPAN modules to achieve it? Browsing CPAN I found: Net-POP3_auth-0.03.tar.gz and Mail-POP3Client-2.16.tar.gz.
However I do not know how can I handle the mime attachment requirement. Read the MIME body, save the attachment with its original name and only .txt and .zip files.
After that, I will need to unzip all the .zip files saved to check inside and do some processing.
I appreacite any help, any links to articles that teach how to do it in perl.
Thanks in advance,
C.F.
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>