From: edward Date: Thu, 14 Jul 2016 07:41:32 +0000 (+0800) Subject: NotifySmtpCheck.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=247e4b06eb2b8ce95f11db173e079ab84ff7dabe NotifySmtpCheck.php --- diff --git a/NotifySmtpCheck.php b/NotifySmtpCheck.php index ef513729..055810dc 100644 --- a/NotifySmtpCheck.php +++ b/NotifySmtpCheck.php @@ -44,7 +44,9 @@ class Pman_Core_NotifySmtpCheck extends Pman $smtp = new Net_SMTP($server, $settings['port'], $helo, false, 0, $socket_options); // $smtp->setDebug(true); - + + echo "Connecting : {$server}:{$settings['port']} \n"; + $res = $smtp->connect(10); if (is_a($res, 'PEAR_Error')) {