phpmailer problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rei27
Forum Commoner
Posts: 27
Joined: Thu Apr 30, 2009 4:17 am

phpmailer problem

Post 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
marty pain
Forum Contributor
Posts: 105
Joined: Thu Jun 11, 2009 5:32 am
Location: Essex

Re: phpmailer problem

Post 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.
caltoche
Forum Newbie
Posts: 6
Joined: Mon Jul 27, 2009 8:46 am

Re: phpmailer problem

Post by caltoche »

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

Post by marty pain »

They are SMTP.
rei27
Forum Commoner
Posts: 27
Joined: Thu Apr 30, 2009 4:17 am

Re: phpmailer problem

Post 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!
Post Reply