Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Encode::MIME::EncWords moduleby Barryet (Initiate) |
on Mar 18, 2020 at 14:45 UTC ( [id://11114430]=perlquestion: print w/replies, xml ) | Need Help?? |
Barryet has asked for the wisdom of the Perl Monks concerning the following question: I wrote a script to retrieve the filename from the attachment of an email. (by use of Encode::MIME::EncWords module.
If the email message is correctly format. It is OK to retrieve the filename. But if the email message is broken and missing the filename attribute. It will trigger error in EncWords module and exit.
Can I identify missing attribute of broken email message within my script and I handle this error.
Back to
Seekers of Perl Wisdom
|
|