http://www.perlmonks.org?node_id=637216


in reply to Re: Error message not showing up from Net::SMTP
in thread Error message not showing up from Net::SMTP

The message in the output came from user code when auth() returned false. The Net::SMTP module has the set status line:
$self->set_status(500, ["Need MIME::Base64 and Authen::SASL todo auth" +]), return 0;
Why didn't the precise error message "Need MIME::Base64 and Authen::SASL todo auth" get to the end-user? Or what exactly should the user have done differently in the user-code to have gotten that precise, informative error message?