Page 1 of 1

phpmailer problem

Posted: Tue Jul 28, 2009 4:15 am
by rei27
Is it anyone can help me for this? I use phpmailer to send email, but it was a problem occur. The email cannot send out and i tried to debug it. I get the following message, but i don't know how to solve.

SMTP -> FROM SERVER: SMTP -> FROM SERVER: SMTP -> ERROR: EHLO not accepted from server: SMTP -> FROM SERVER: SMTP -> ERROR: HELO not accepted from server: SMTP -> ERROR: AUTH not accepted from server: SMTP -> FROM SERVER: SMTP -> ERROR: RSET failed: Mailer Error: SMTP Error: Could not connect to SMTP host


I think it might a problem that related to smtp connection. So i hope anyone can help me! Thanks

Re: phpmailer problem

Posted: Tue Jul 28, 2009 5:22 am
by marty pain
First thing to do, set up Out Look or Evolution (or whatever mail client you use) to use the same settings as you are using for the PHP mailer and see if you can send an email manually.

By the look of that error the server was not responding to a an SMTP handshake. If you can get the error codes somehow then they might explain why.

Re: phpmailer problem

Posted: Tue Jul 28, 2009 10:09 am
by caltoche
This is strange, EHLO or HELO are telnet messages, not SMTP. Did you try to execute the examples files bundled with phpMailer ?

Re: phpmailer problem

Posted: Tue Jul 28, 2009 10:15 am
by marty pain
They are SMTP.

Re: phpmailer problem

Posted: Tue Jul 28, 2009 8:28 pm
by rei27
marty pain wrote:First thing to do, set up Out Look or Evolution (or whatever mail client you use) to use the same settings as you are using for the PHP mailer and see if you can send an email manually.

By the look of that error the server was not responding to a an SMTP handshake. If you can get the error codes somehow then they might explain why.

I tried b4 by using Outlook, it was work! But when i turn to php code, it became that!