Problems? Is your data what you think it is? | |
PerlMonks |
Re: Reading Mail::Message objects using Mail::POP3Clientby jlongino (Parson) |
on Oct 13, 2002 at 18:59 UTC ( [id://204933]=note: print w/replies, xml ) | Need Help?? |
As dws says for attachment processing mime::parser is ideal. Here is an example of Mail::POP3Client access and MIME::Parser for parsing.
As for determining the pure text portion of the message, I've found that Mail::MboxParser is usually the easiest way to obtain it. Here is an example how to obtain the "text message" portion, if the E-mail contains one. --Jim
In Section
Seekers of Perl Wisdom
|
|