NotifySmtpCheck.php
authoredward <edward@roojs.com>
Thu, 14 Jul 2016 04:14:13 +0000 (12:14 +0800)
committeredward <edward@roojs.com>
Thu, 14 Jul 2016 04:14:13 +0000 (12:14 +0800)
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;
 //                }