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