From 158e02c93e1adc474abc1ef274b228ac0445dfcf Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 14 Jul 2016 12:37:37 +0800 Subject: [PATCH] NotifySmtpCheck.php --- NotifySmtpCheck.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NotifySmtpCheck.php b/NotifySmtpCheck.php index ca652e08..4626b5a8 100644 --- a/NotifySmtpCheck.php +++ b/NotifySmtpCheck.php @@ -51,10 +51,10 @@ class Pman_Core_NotifySmtpCheck extends Pman 'netdns' => false ); - $smtpmx = new Mail_smtpmx($params); - $smtpmx->debug = true; +// $smtpmx = new Mail_smtpmx($params); +// $smtpmx->debug = true; - $smtpmx->_smtp = new Net_SMTP($server, $smtpmx->port, $smtpmx->mailname); + $smtp = new Net_SMTP($server, 25, $dom); $smtpmx->_smtp->setDebug(true); -- 2.39.2