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

index e2e5183..9dd2d0a 100644 (file)
@@ -47,7 +47,7 @@ class Pman_Core_NotifySmtpCheck extends Pman
                 
                 foreach ($mx as $mserver => $mpriority) {
                     
-                    $smtpmx->_smtp = new Net_SMTP($server, $smtpmx->port, $smtpmx->mailname);
+                    $smtpmx->_smtp = new Net_SMTP($mserver, $smtpmx->port, $smtpmx->mailname);
                     
 //                    print_R($smtpmx);exit;
                     $res = $smtpmx->_smtp->connect($smtpmx->timeout);