When I did this the output went to the <STDOUT>, fouling the web page I was
generating, not any variable that I could see.

----- Original Message ----- 
From: "Peter Guzis" <[EMAIL PROTECTED]>
To: "David Ressler" <[EMAIL PROTECTED]>; "Perl List"
<[email protected]>
Sent: Wednesday, August 10, 2005 4:46 PM
Subject: RE: :SMTP errors?


Turn on debugging mode with:

$smtp = Net::SMTP->new('mailhost', Debug => 1);

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
David Ressler
Sent: Wednesday, August 10, 2005 4:22 PM
To: Perl List
Subject: Net::SMTP errors?


Hi,

I'm successfully using Net::SMTP to send email, but I need to look at the to()
error messages to determine if the problem was just a bad address or if the
server found a more sinister problem. How do I pick up the actual message
returned by the server?

Thanks,
Dave


_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to