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

index a834e44..976ea33 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, $settings['username']);
+                    $smtpmx->_smtp = new Net_SMTP($server, $smtpmx->port, $smtpmx->mailname);
 
                     $res = $smtpmx->_smtp->connect($smtpmx->timeout);