Hello,
I use Net::POP3 for donwload the header of my messages.
.....
$pop = Net::POP3->new($server);
.......
$top = $pop->top($msgnum);
.......
my ($from) = grep /^From:/i, @lines;
my ($to) = grep /^To:/i, @lines;
my ($subject) = grep /^Subject:/i, @lines;
.......

When To is:
To: beginners@perl.org 
it's ok. 

But if To is:
To: Daniel Smith <[EMAIL PROTECTED]>, beginners@perl.org
I get only: 
To: Daniel Smith <[EMAIL PROTECTED]>,

Where is the final part of the To ?
And how can I get it ?

tia

-- 
Gérard 
PS
I was guided by swendeleter of Xavier Noria(thanks)


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to