Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Receiving Emails From Sendmail

by devslashneil (Friar)
on Jul 01, 2003 at 03:49 UTC ( [id://270392]=note: print w/replies, xml ) Need Help??


in reply to Receiving Emails From Sendmail

I was actually able to do it using MBoxParser
Here is some sample code:
#!/usr/bin/perl use strict; use Mail::MboxParser::Mail; my $msg = Mail::MboxParser::Mail->new([<STDIN>],[<STDIN>]); print $msg->from->{email} . "\n"; my $body = $msg->get_entity_body() . "\n"; print $body;
Neil Archibald
- /dev/IT -

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2024-04-19 15:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found