Re: Mail::Message object from pipe?

David A Golden <[email protected]> Wed, 21 Apr 2004 11:41:56 -0400
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <5.2.0.9.2.20040421113842.00b390d0@localhost>
Here's how I do it:

my $msg = Mail::Message->read(\*STDIN);

At 4/21/2004 07:28 AM, Brighton Youth Crew wrote:
>Hi,
>
>I'm writing a mail filter using Mail::Classifier that accepts piped mail from Sendmail.
>
>Is there any way I can cast incoming email as a Mail::Message object?
>
>Max
>
>_________________________________________________________________
>Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger