in reply to Re^4: Mail::Pop3Client - want to get consistent body text
in thread Mail::Pop3Client - want to get consistent body text
No, you should call body for each part separately, like this (not tested!):
my $email=Email::MIME->new($headAndBody); my @parts = $email->parts(); print $_->body(), "\n" for @parts;
Note that each part may be multipart, so you should check this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Mail::Pop3Client - want to get consistent body text
by ksublondie (Friar) on May 20, 2009 at 14:34 UTC |