From: edward Date: Thu, 14 Jul 2016 05:05:32 +0000 (+0800) Subject: NotifySmtpCheck.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=781bceeb4cc9c8fd0b7851219a877162f775eb0b;hp=7d932bee00e949f16aa524206e2c3a2adfbdf7c0;p=Pman.Core NotifySmtpCheck.php --- diff --git a/NotifySmtpCheck.php b/NotifySmtpCheck.php index 6115092b..6ef823da 100644 --- a/NotifySmtpCheck.php +++ b/NotifySmtpCheck.php @@ -45,7 +45,7 @@ class Pman_Core_NotifySmtpCheck extends Pman ) ); - $smtp = new Net_SMTP($server, 25, '058177247238.ctinets.com', false, 0, $socket_options); + $smtp = new Net_SMTP($server, $settings['port'], '058177247238.ctinets.com', false, 0, $socket_options); $smtp->setDebug(true);