in reply to Parsing email
The very best way is: Mail::Message->new( $your_message_from_664_093 ); (update: not even close)
It does everything you want and much more.
my $body = $msg->body; my @encoded = $msg->body->lines; my @to = $msg->to; my @from = $msg->from;
-Paul
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parsing email
by Anonymous Monk on Jan 03, 2014 at 21:26 UTC | |
by jettero (Monsignor) on Feb 17, 2014 at 15:17 UTC | |
by Gavin (Archbishop) on Feb 17, 2014 at 18:39 UTC |