virtualweb has asked for the wisdom of the Perl Monks concerning the following question:
Hello:
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
http://search.cpan.org/~markov/Mail-Box-2.098/lib/Mail/Message.pod
2) a directory of mail related modules
http://search.cpan.org/~markov/Mail-Box
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.
Much appreciated