Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Automated E-mail Detection

by Mop-Boy (Initiate)
on Mar 24, 2003 at 16:59 UTC ( [id://245472]=perlquestion: print w/replies, xml ) Need Help??

Mop-Boy has asked for the wisdom of the Perl Monks concerning the following question:

I am looking for a really good tutorial, or reference that would help me write a perl program that would filter my e-mail and if an e-mail with a set subject, or message string would trigger an automated e-mail to be sent to a list of recipients.

Where could I get info on writing a script to access e-mail this way?

Mop-Boy

Replies are listed 'Best First'.
Re: Automated E-mail Detection
by davorg (Chancellor) on Mar 24, 2003 at 17:06 UTC
Re: Automated E-mail Detection
by Limbic~Region (Chancellor) on Mar 24, 2003 at 17:19 UTC
    Mop-Boy,
    SpamAssassin might be of some interest to you.
    I do not know of any "here's how you roll your own" instructions, but learning by emulating is typically effective.

    Cheers - L~R

Re: Automated E-mail Detection
by theguvnor (Chaplain) on Mar 25, 2003 at 01:12 UTC

    Not to discourage you from looking at other things, POPFile is a wickedly good open-source Bayesian mail filter written in Perl; with that in mind, perhaps you could modify its filtering functions to include some callback functions of your own devising that would do your re-mailing.

    [Jon]

Re: Automated E-mail Detection
by rah (Monk) on Mar 25, 2003 at 04:03 UTC
    Don't know if you're familiar with the procmail program, but Mail::Procmail offers comparable mail processing/filtering, with a bit more accessible syntax.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://245472]
Approved by sschneid
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-12-08 05:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (50 votes). Check out past polls.