in reply to Re: Extracting a list of email addresses from a mail header
in thread Extracting a list of email addresses from a mail header
According to the Mail::Header documentation, get() in array context returns "a list of all the text from all the instances of TAG". Which should be what you are looking for.push @hlines, $header->get('To'); push @hlines, $header->get('Cc'); push @hlines, $header->get('Bcc');
--ZZamboni
|
|---|