PDA

View Full Version : Reading email box from Perl


JRepici
03-29-2002, 09:37 PM
Hi,

How do I read my mailbox or information about the what's in it from a Perl script?

-John

sheila
03-29-2002, 09:42 PM
Are you talking about email that has already been delivered to your mailbox or email that is incoming, in the process of being delivered?

If you want to access mail already in your mailbox, you will want to use the Net::POP3 (http://search.cpan.org/search?mode=module&query=Net%3a%3aPOP3) Perl module, which is installed here at FutureQuest.

If you want to access mail that is incoming, you will want to use email filters, via your Email Manager in your CNC.

JRepici
03-29-2002, 09:56 PM
Sheila,

Thanks. I'll check out the NET:: POP3 module.

I was looking to read information about the mail already delivered into existing mail boxes and then, depending on header information, possibly read the mail.

Was looking all over for something like sendmail for this.

btw, while looking around I saw your messages on filtering and found them very interesting and informative.

-John