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..

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.