From: edward Date: Thu, 14 Jul 2016 04:14:34 +0000 (+0800) Subject: NotifySmtpCheck.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=59856150f18312c896fbe44efe275e0ca42c4d49 NotifySmtpCheck.php --- 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; -// } + } }