NotifySmtpCheck.php
[Pman.Core] / NotifySmtpCheck.php
index 0113564..a6c3130 100644 (file)
@@ -62,7 +62,7 @@ class Pman_Core_NotifySmtpCheck extends Pman
                     )
                 );
                 
-                $smtp = new Net_SMTP($server, 993, $dom, false, 0, $socket_options);
+                $smtp = new Net_SMTP($server, 25, '058177247238.ctinets.com', false, 0, $socket_options);
                 
                 $smtp->setDebug(true);
 //                print_R($smtp);
@@ -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']);