in reply to Re: Retrieving email and decoding attachments
in thread Retrieving email and decoding attachments

This works too and is a bit simpler.
for ($i = 1; $i <= $pop->Count(); $i++) { print "$i \n"; my $msg; $msg = $pop->HeadAndBody( $i ); my $entity = $parser->parse_data($msg); }

Replies are listed 'Best First'.
Re^3: Retrieving email and decoding attachments
by unrelatedmonk1 (Novice) on Jul 20, 2015 at 20:20 UTC
    Wow! That was great! It works like a charm! Thank you!