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

index 4626b5a..827dda3 100644 (file)
@@ -47,16 +47,16 @@ class Pman_Core_NotifySmtpCheck extends Pman
 //                
 //                print_R($mailer);exit;
                 
-                $params = array(
-                    'netdns' => false
-                );
+//                $params = array(
+//                    'netdns' => false
+//                );
                 
 //                $smtpmx = new Mail_smtpmx($params);
 //                $smtpmx->debug = true;
                 
                 $smtp = new Net_SMTP($server, 25, $dom);
-                
-                $smtpmx->_smtp->setDebug(true);
+                $smtp->setDebug(true);
+                print_R($smtp);
                 
 //                print_R($smtpmx->_smtp);exit;