in reply to reading body of email not working
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
L*my $es = Email::Simple->new( join '', @{ $imap->get($i) } ); # here!
|
---|
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 |