From 16d4e669b919b75a15303353b8a75c9a2c1f8e7e Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 14 Jul 2016 12:14:44 +0800 Subject: [PATCH] NotifySmtpCheck.php --- NotifySmtpCheck.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NotifySmtpCheck.php b/NotifySmtpCheck.php index e2e51837..9dd2d0a1 100644 --- a/NotifySmtpCheck.php +++ b/NotifySmtpCheck.php @@ -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); -- 2.39.2