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


in reply to how to get "Subject" using MIME::Parser ?

We will get the body by using $data->{BODY}
I do not think that will work.

MIME::Parser's parse methods return a MIME::Entity object. You'd be better off reading the documentation for those libraries and using the documented methods to get the body and the other parts of the email that you require.

  • Comment on Re: how to get "Subject" using MIME::Parser ?