khaosregion Posted August 16, 2007 Share Posted August 16, 2007 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... Link to comment https://forums.phpfreaks.com/topic/65208-duplicate-helo-error-can-any1-help-me-pls/ Share on other sites More sharing options...
r-it Posted August 16, 2007 Share Posted August 16, 2007 i suggest you use zend's mail class or another one, just google phpmailmime5 i think that's it, i havent had any problems like you're having ever since then Link to comment https://forums.phpfreaks.com/topic/65208-duplicate-helo-error-can-any1-help-me-pls/#findComment-325643 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.