I know this is an old post, however I came across it when trying to figure this out myself.
For others stuck with this example, you will need to change the following line from:
my $es = Email::Simple->new(join '', @{ $imap->top($i) } );
to
my $es = Email::Simple->new( join '', @{ $imap->get($i) } );In reply to Re^3: Parsing Subject and Body Of E-Mail Message
by amccartney
in thread Parsing Subject and Body Of E-Mail Message
by ProgramIT
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |