Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

existing CPAN modules (I'm using MIME::Tools) allow one to parse an e-mail message to get e-mail headers, but where do I go to parse those headers? Say I need to find out the originator of the message. I get the value of 'From' from Mail::Header, as a string: is there an existing module to get the address (without the name, comments, quoted characters and other distractions) from that string?

Replies are listed 'Best First'.
Re: Structured headers of RFC 2822
by saintmike (Vicar) on Sep 03, 2004 at 18:04 UTC
Re: Structured headers of RFC 2822
by amt (Monk) on Sep 03, 2004 at 18:29 UTC