Keep It Simple, Stupid | |
PerlMonks |
Re: MIME::Lite error handlingby robartes (Priest) |
on Feb 28, 2003 at 22:21 UTC ( [id://239571]=note: print w/replies, xml ) | Need Help?? |
Good point. The way I read the docs, the module is behaving as it should:
Returns whatever the mail-handling routine returns: this should be true on success, false/exception on error The way I read this, the send method can throw an exception, which is what is happening in your case (hence, your catching it with eval). So, it is behaving as documented. It could be a bit clearer though, something along the lines of ... returns false or throws an exception on error.. Update: closed italics tag. Thanks AlexL. CU
In Section
Seekers of Perl Wisdom
|
|