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
phpmailer problem
Moderator: General Moderators
-
marty pain
- Forum Contributor
- Posts: 105
- Joined: Thu Jun 11, 2009 5:32 am
- Location: Essex
Re: phpmailer problem
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.
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
This is strange, EHLO or HELO are telnet messages, not SMTP. Did you try to execute the examples files bundled with phpMailer ?
-
marty pain
- Forum Contributor
- Posts: 105
- Joined: Thu Jun 11, 2009 5:32 am
- Location: Essex
Re: phpmailer problem
They are SMTP.
Re: phpmailer problem
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!