Jump to content

phpMailer SMTP -> ERROR: DATA command not accepted from server


sajan

Recommended Posts

I get the following error on mail sending :

 

SMTP -> FROM SERVER:

SMTP -> FROM SERVER:

SMTP -> ERROR: EHLO not accepted from server:

SMTP -> FROM SERVER: 220 xyz.com ESMTP

SMTP -> ERROR: HELO not accepted from server: 220 xyz.com ESMTP

SMTP -> FROM SERVER:250-xyz.com 250-AUTH=LOGIN CRAM-MD5 250-AUTH LOGIN CRAM-MD5 250-STARTTLS 250-PIPELINING 250 8BITMIME

SMTP -> FROM SERVER:250 xyz.com

SMTP -> FROM SERVER:250 ok

SMTP -> ERROR: DATA command not accepted from server: 250 ok

SMTP Error: Data not accepted

 

 

When i add this to smtp class

if($code == 250) {

$rply = $this->get_lines();

$code = substr($rply,0,3);

}

 

 

I get this

 

SMTP -> FROM SERVER:

SMTP -> FROM SERVER:

SMTP -> ERROR: EHLO not accepted from server:

SMTP -> FROM SERVER: 220 xyz.com ESMTP

SMTP -> ERROR: HELO not accepted from server: 220 xyz.com ESMTP

SMTP -> FROM SERVER:250-xyz.com 250-AUTH=LOGIN CRAM-MD5 250-AUTH LOGIN CRAM-MD5 250-STARTTLS 250-PIPELINING 250 8BITMIME

SMTP -> FROM SERVER:250 xyz.com

SMTP -> FROM SERVER:250 ok

SMTP -> ERROR: DATA command not accepted from server: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

 

Please help me out..

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.