I have a CGI program that use the Mail::Sendmail module. The 
situation is that at the end of the script it send a email 

notification with the Mail::Sendmail but because the 
Mail::Sendmail check for the email address to see if its valid, 
when the 

user enter an invalid email address the module return this 
error "Bad file descriptor". I want to know if any, that when 
the 

module die like this I can capture the error and bring to the 
browser a more nicely description of the error, like "You enter 

an invalid email address". I will use Mail::Sendmail I don't 
want to change the module for this I only want to know how can I 

trap the error and change it to a more nicely description. I 
will apreciabr help.
Thanks.

---------------------------------------------
This message was sent using PRT Internet Web Based Mail Client.
http://www.prtc.net/



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

Reply via email to