From 52d74d980b90f5c57a3f6a70990f109f50d8ff53 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 14 Jul 2016 12:26:35 +0800 Subject: [PATCH] NotifySmtpCheck.php --- NotifySmtpCheck.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/NotifySmtpCheck.php b/NotifySmtpCheck.php index 914dd87e..9e9f99c6 100644 --- a/NotifySmtpCheck.php +++ b/NotifySmtpCheck.php @@ -37,21 +37,12 @@ class Pman_Core_NotifySmtpCheck extends Pman // // print_R($mailer);exit; - $headers = array( - 'From' => $settings['username'] - ); - $params = array( 'netdns' => false ); $smtpmx = new Mail_smtpmx($params); - $result = $smtpmx->_sanitizeHeaders($headers); - if (is_a($result, 'PEAR_Error')) { - print_r("Error occour on '_sanitizeHeaders' \n");exit; - } - print_R($smtpmx);exit; $smtpmx->_smtp = new Net_SMTP($server, $smtpmx->port, $smtpmx->mailname); // print_R($smtpmx->_smtp);exit; -- 2.39.2