NotifySmtpCheck.php
authoredward <edward@roojs.com>
Thu, 14 Jul 2016 04:56:10 +0000 (12:56 +0800)
committeredward <edward@roojs.com>
Thu, 14 Jul 2016 04:56:10 +0000 (12:56 +0800)
NotifySmtpCheck.php

index 0113564..69fad70 100644 (file)
@@ -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']);