From: edward Date: Thu, 14 Jul 2016 04:56:10 +0000 (+0800) Subject: NotifySmtpCheck.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=0e1f4fda571b40aeed69cfcd7a983168ad981d87 NotifySmtpCheck.php --- diff --git a/NotifySmtpCheck.php b/NotifySmtpCheck.php index 0113564c..69fad70c 100644 --- a/NotifySmtpCheck.php +++ b/NotifySmtpCheck.php @@ -72,7 +72,7 @@ class Pman_Core_NotifySmtpCheck extends Pman $res = $smtp->connect(10); if (is_a($res, 'PEAR_Error')) { - print_R('error?????');exit; + die("Cound not connect to {$server}"); } $res = $smtp->auth($settings['username'], $settings['password']);