From 247e4b06eb2b8ce95f11db173e079ab84ff7dabe Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 14 Jul 2016 15:41:32 +0800 Subject: [PATCH] NotifySmtpCheck.php --- NotifySmtpCheck.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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')) { -- 2.39.2