![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re: Error message not showing up from Net::SMTPby ikegami (Patriarch) |
on Sep 05, 2007 at 15:58 UTC ( [id://637190]=note: print w/replies, xml ) | Need Help?? |
What do you mean by "the failure is silent"? Your output clearly shows auth communicated the failure. Do you mean the error isn't in $!? $!'s content are meaningless unless a system call returned an error. You didn't make any system calls, much less one that returned an error. Perhaps you want $mail->code and/or $mail->message? (Remember, Net::SMTP objects are descendant of Net::Cmd.)
In Section
Seekers of Perl Wisdom
|
|