PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Capture SMTP Error when send with Mail

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Mail
View previous topic :: View next topic  
Author Message
klodenet



Joined: 16 Apr 2010
Posts: 1

PostPosted: Fri Apr 16, 2010 11:20 pm    Post subject: Capture SMTP Error when send with Mail Reply with quote

Hi at all,
I discover the fast goPear for install PEAR in my webspace. Work great! And this world is the best ever seen before!!! Sorry for my bad english.

So, I make an application that sends e-mail too. Now, whan I use the SMTP connection for sending e-mail, sometimes I get a PEAR::Error(). Then if I print the $mail->getMessage() I say a message with an error code from SMTP Server.

I want to know if there is a method to extract (or capture) thiis error code, so I can inform the front-End users for this error specifically.

Thanks in advantage for supply.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Mail All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement