Syntactic Confectionery Delight | |
PerlMonks |
mime parser multiple emailsby jjoerg (Initiate) |
on Mar 27, 2019 at 17:43 UTC ( [id://1231756]=perlquestion: print w/replies, xml ) | Need Help?? |
jjoerg has asked for the wisdom of the Perl Monks concerning the following question: Dear Monks, I know there is something very basic that your deep knowledge and wisdom will see immediately. I am a broken and imperfect vessel and cannot see. Please help me. I get many emails with attachments to a user account that need automated extracting on a regular basis. They come in at irregular times, and the mail gets checked 1x/month or so. I have not used MIME::Parser before, and wrote the following:
This works nicely, but only for the first message in the mailbox. The attachments of that message get saved and the program exits. How do I keep it going through all the messages in the mail spool? I thank you for your kind assistance.
Back to
Seekers of Perl Wisdom
|
|