http://www.perlmonks.org?node_id=148370

dave_aiello has asked for the wisdom of the Perl Monks concerning the following question:

I use Mozilla 0.9.2.1 as my web browser and email client on my laptop, after making the transition from Netscape 4.78. Since I have only been using Linux as my primary operating system for about a year, I am used to using the email client in Netscape/Mozilla, rather than something more UNIX-oriented.

I want to write a Perl script to go through my Inbox file, parse the messages, and archive or dispose of certain mail messages. How would you recommend doing this?

Thanks

Dave Aiello
Chatham Township Data Corporation

Replies are listed 'Best First'.
Re: Netscape/Mozilla Mailbox Processing
by cjf (Parson) on Feb 28, 2002 at 21:02 UTC
    Mail::Box and Mail::Header may be of use. You can also browse through all the modules in the mail category on cpan here.

    Hope that helps :)

Re: Netscape/Mozilla Mailbox Processing
by converter (Priest) on Feb 28, 2002 at 22:48 UTC

    Have a look at Mail::Audit "Library for creating easy mail filters" while you're at it. There's also an article on the subject on perl.com.