in reply to Extracting a list of email addresses from a mail header

Use the CPAN Email::Find module for that.

  • Comment on Re: Extracting a list of email addresses from a mail header