The attachments, I assume, are the body part attachments which are probably HTML. To get the From address you should take it from the headers, like this:
jdtorontouse Mail::Header; my $header = $pop->Head($i); my $parsedhead = Mail::Header->new($header); chomp( my $subject = $parsedhead->get('Subject') ); print "Subject: $subject\n"; chomp( my $from = $parsedhead->get('From') ); print "From: $from\n";
In reply to Re: How to parse outlook type attachment from inbox
by jdtoronto
in thread How to parse outlook type attachment from inbox
by perlCrazy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |