> In Perl, Email::Simple works well for parsing the headers and taking > actions.
I want to second the Perl Email::Simple module. While it's not the most robust module for parsing different kinds of emails, it works very well for what it does and is dead simple to use. If you're a Perl dev, it'll be hard to beat Email::Simple for basic parsing. Anthony Papillion
