Error handling - SMTP Error: Could not authenticate.

View: New views
1 Messages — Rating Filter:   Alert me  

Error handling - SMTP Error: Could not authenticate.

by majkel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi to all

I am new to phpmailer and I see it is great library.

I have the following problem:

I don't want any information about errors at php output, but my script writes 

"SMTP Error: Could not authenticate. " (error is OK but don't want to print it on screen)

I want take the content of error by:

$result = $mail->ErrorInfo;  (to variable)

I turn off debug mode:

 // $mail->SMTPDebug = 2;

but the message "SMTP Error: Could not authenticate. " is still on the screen.

Any ideas how to get rid of message?


Greetings

michal


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Phpmailer-general mailing list
Phpmailer-general@...
https://lists.sourceforge.net/lists/listinfo/phpmailer-general