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


in reply to Creating mail::message from retrieved text

Fellow
you should use Mail::Message::read() to construct a message from a filehandle-like or scalar-like data source.

May gods bless you.