in reply to Re^4: Trap the error msg from Mime::Lite
in thread Trap the error msg from Mime::Lite

send spawns out to sendmail. If you have Net::SMTP installed you can use

eval { $msg->send_by_smtp; }; if ($@) { # handle error }