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