From 59856150f18312c896fbe44efe275e0ca42c4d49 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 14 Jul 2016 12:14:34 +0800 Subject: [PATCH] NotifySmtpCheck.php --- NotifySmtpCheck.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NotifySmtpCheck.php b/NotifySmtpCheck.php index a8071ef9..e2e51837 100644 --- a/NotifySmtpCheck.php +++ b/NotifySmtpCheck.php @@ -43,9 +43,9 @@ class Pman_Core_NotifySmtpCheck extends Pman $smtpmx = new Mail_smtpmx($params); -// $mx = $smtpmx->_getMx($dom); + $mx = $smtpmx->_getMx($dom); -// foreach ($mx as $mserver => $mpriority) { + foreach ($mx as $mserver => $mpriority) { $smtpmx->_smtp = new Net_SMTP($server, $smtpmx->port, $smtpmx->mailname); @@ -55,7 +55,7 @@ class Pman_Core_NotifySmtpCheck extends Pman $smtpmx->_smtp->disconnect(); print_R($res);exit; -// } + } } -- 2.39.2