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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mail Processing
by ig (Vicar) on May 29, 2011 at 19:28 UTC | |
|
Re: Mail Processing
by gnosti (Chaplain) on May 29, 2011 at 21:34 UTC | |
|
Re: Mail Processing
by anonymized user 468275 (Curate) on May 29, 2011 at 15:53 UTC | |
|
Re: Mail Processing
by bliffle (Initiate) on May 30, 2011 at 18:44 UTC | |
by gnosti (Chaplain) on May 31, 2011 at 01:12 UTC |