NotifySmtpCheck.php
[Pman.Core] / NotifySmtpCheck.php
index 542da01..c67526c 100644 (file)
@@ -43,9 +43,9 @@ class Pman_Core_NotifySmtpCheck extends Pman
                 
                 $smtpmx = new Mail_smtpmx($params);
                 
-                $smtpmx->_smtp = new Net_SMTP($mserver, $smtpmx->port, $smtpmx->mailname);
+                $smtpmx->_smtp = new Net_SMTP($server, $smtpmx->port, $server);
                     
-                print_R($smtpmx);exit;
+                print_R($smtpmx->_smtp);exit;
                 
                 $res = $smtpmx->_smtp->connect($smtpmx->timeout);