NotifySmtpCheck.php
authoredward <edward@roojs.com>
Thu, 14 Jul 2016 06:15:51 +0000 (14:15 +0800)
committeredward <edward@roojs.com>
Thu, 14 Jul 2016 06:15:51 +0000 (14:15 +0800)
NotifySmtpCheck.php

index fda61bb..268a618 100644 (file)
@@ -17,7 +17,7 @@ class Pman_Core_NotifySmtpCheck extends Pman
             return;
         }
         
-        $helo = $this->getHelo();
+//        $helo = $this->getHelo();
         
         $error = array();
         
@@ -34,7 +34,7 @@ class Pman_Core_NotifySmtpCheck extends Pman
                 )
             );
 
-            $smtp = new Net_SMTP($server, $settings['port'], $helo, false, 0, $socket_options);
+            $smtp = new Net_SMTP($server, $settings['port'], '', false, 0, $socket_options);
 
 //            $smtp->setDebug(true);