|go ahead... be a heretic|
Mail Processingby virtualweb (Sexton)
|on May 29, 2011 at 14:06 UTC||Need Help??|
virtualweb has asked for the
wisdom of the Perl Monks concerning the following question:
I have asked my server to redirect all email which come to a particular email box to a little perl script so I can automate sending an auto-reply according to keywords in the Subject or Body.
Now I need to write the script but I have no knowledge of how to parse the email To: From: Subject: and Body:
I looked in CPAN.org for clues and found two results:
1) a Module called Mail::Message
2) a directory of mail related modules
If anyone has already parsed email messages I would appreciate directions, perhaps your've already used the above mentioned Modules or you may have a better a quicker solution.