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

index 15ac039..a45ee4d 100644 (file)
@@ -47,7 +47,7 @@ class Pman_Core_NotifySmtpCheck extends Pman
                 
                 foreach ($mx as $mserver => $mpriority) {
                     
-                    $smtpmx->_smtp = new Net_SMTP('test', $smtpmx->port, $smtpmx->mailname);
+                    $smtpmx->_smtp = new Net_SMTP('test.com', $smtpmx->port, $smtpmx->mailname);
 
                     $res = $smtpmx->_smtp->connect($smtpmx->timeout);