NotifySmtpCheck.php
[Pman.Core] / NotifySmtpCheck.php
index a133ba8..a8071ef 100644 (file)
@@ -49,9 +49,11 @@ class Pman_Core_NotifySmtpCheck extends Pman
                     
                     $smtpmx->_smtp = new Net_SMTP($server, $smtpmx->port, $smtpmx->mailname);
                     
-                    print_R($smtpmx);exit;
+//                    print_R($smtpmx);exit;
                     $res = $smtpmx->_smtp->connect($smtpmx->timeout);
 
+                    $smtpmx->_smtp->disconnect();
+                    
                     print_R($res);exit;
 //                }