Jump to content

Duplicate HELO error.. can any1 help me pls?


khaosregion

Recommended Posts

SOMETIMES my program failed to send email n show error msg like:-

 

SMTP -> FROM SERVER:

SMTP -> FROM SERVER:

220 mail.mtat.com ESMTP ) Ready

SMTP -> ERROR: EHLO not accepted from server: 220 mail.mtat.com ESMTP ) Ready

SMTP -> FROM SERVER:

250-mail.mtat.com Hello localhost.localdomain (172.21.30.72)

250 SIZE

SMTP -> FROM SERVER:

503 mail.mtat.com Duplicate HELO

SMTP -> ERROR: MAIL not accepted from server: 503 mail.mtat.com Duplicate HELO

SMTP -> FROM SERVER:

250 sender ok <[email protected]>

Message could not be sent. <p>Mailer Error: Language string failed to load: [email protected]

 

Here's my source code example:-

 

function Hello($host="")

{

        $this->error = null;

        if(!$this->connected()) {

            $this->error = array(

                    "error" => "Hello() called without connection");

            return false;

        }

 

        if(empty($host)) {     

            $host = "localhost";

        }

        if(!$this->SendHello("EHLO", $host))

        {

            if(!$this->SendHello("HELO", $host))

                return false;

        }

        return true;

}

 

this is really frustrating to me and this prob doesn't happen avtime.. juz SOMETIMES oni...

 

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.