in reply to reading body of email not working

Hello again Anonymous Monk

nice to meet another italian (probably ;=)

I'm not so skilled in email reading, but me too I receive an empty body. I modified the program a bit with use Data::Dump and then

printf( "[%03d] %s\n", $i, $es->header('From'), $es->header('Subject') +); print "BODY[".$es->body."]\n\n"; dd $es; # got: BODY[] bless({ body => \"",

UPDATE: ahah the problem is the top you must use get

my $es = Email::Simple->new( join '', @{ $imap->get($i) } ); # here!
L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re^2: reading body of email not working -- get not top
by Anonymous Monk on Jun 01, 2017 at 08:41 UTC
    Thank you very much !
    (I am Greek, but close enough :D :D )