From: edward Date: Thu, 14 Jul 2016 04:04:26 +0000 (+0800) Subject: NotifySmtpCheck.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=7d79ff520f7369c7710829ddb4eaf5d733be368c NotifySmtpCheck.php --- diff --git a/NotifySmtpCheck.php b/NotifySmtpCheck.php index cd44f97c..b8f16b1d 100644 --- a/NotifySmtpCheck.php +++ b/NotifySmtpCheck.php @@ -47,6 +47,8 @@ class Pman_Core_NotifySmtpCheck extends Pman foreach ($mx as $mserver => $mpriority) { + $smtpmx->_smtp = new Net_SMTP($mserver, $smtpmx->port, $smtpmx->mailname); + $res = $smtpmx->_smtp->connect($smtpmx->timeout); print_R($res);exit;