in reply to MIME::Lite error handling

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
Robartes-