Changing the user code to the following displays the desired error message:

    print "ERROR:  Could not authenticate user $user_id\n$!\n",
      $mail->code,':',$mail->message,"\n"; 

Thanks to Friar menolly and Chancellor ikegami on PerlMonks.

--Suresh

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to