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