Drieux wrote:
> 
> On Thursday, June 20, 2002, at 02:02 , Nate Brunson wrote:
> 
>> is there a way I can get Net::SMTP  to return errors that it might 
>> encounter into a variable, or something?
>> so that on the page that pops up after the mail is sent, it can 
>> display errors if there were any. I have read the man page on it and 
>> cant figure out a way to do this
> 
> 
> 
> part of the problem is that 'your problem' may not occur
> until after you close your connection with your smtp server,
> since your email message may in itself comply with all of
> the rules for being a well formed email - hence something
> that your smtp server would accept.... but that the
> email address itself has an issue....
> 
> you may want to look at:
> 
> http://search.cpan.org/search?mode=dist&query=mailtool
> 
> but a part of the problem you are trying to work around
> is just the very nature of SMTP itself.... IMMHO.
> 
> ciao
> drieux
> 
> ---
> 


Every funtion of Net::SMTP returns true on sucess so you can know of 
errors if any one does not

If one just wants to debug errors start the smtp server in full logging 
mode and then you wud know exactly where the error was


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to