NotifySmtpCheck.php
authoredward <edward@roojs.com>
Thu, 14 Jul 2016 05:05:32 +0000 (13:05 +0800)
committeredward <edward@roojs.com>
Thu, 14 Jul 2016 05:05:32 +0000 (13:05 +0800)
NotifySmtpCheck.php

index 6115092..6ef823d 100644 (file)
@@ -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);