http://www.perlmonks.org?node_id=181871


in reply to Email-based Content Generation Reflector

I might consider using MIME::Entity to do the actual parsing of the message and headers. A few other notes: