NotifySmtpCheck.php
authoredward <edward@roojs.com>
Thu, 14 Jul 2016 04:37:37 +0000 (12:37 +0800)
committeredward <edward@roojs.com>
Thu, 14 Jul 2016 04:37:37 +0000 (12:37 +0800)
NotifySmtpCheck.php

index ca652e0..4626b5a 100644 (file)
@@ -51,10 +51,10 @@ class Pman_Core_NotifySmtpCheck extends Pman
                     'netdns' => false
                 );
                 
-                $smtpmx = new Mail_smtpmx($params);
-                $smtpmx->debug = true;
+//                $smtpmx = new Mail_smtpmx($params);
+//                $smtpmx->debug = true;
                 
-                $smtpmx->_smtp = new Net_SMTP($server, $smtpmx->port, $smtpmx->mailname);
+                $smtp = new Net_SMTP($server, 25, $dom);
                 
                 $smtpmx->_smtp->setDebug(true);