projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2ba3e97
)
NotifySmtpCheck.php
author
edward
<edward@roojs.com>
Thu, 14 Jul 2016 04:26:35 +0000
(12:26 +0800)
committer
edward
<edward@roojs.com>
Thu, 14 Jul 2016 04:26:35 +0000
(12:26 +0800)
NotifySmtpCheck.php
patch
|
blob
|
history
diff --git
a/NotifySmtpCheck.php
b/NotifySmtpCheck.php
index
914dd87
..
9e9f99c
100644
(file)
--- a/
NotifySmtpCheck.php
+++ b/
NotifySmtpCheck.php
@@
-37,21
+37,12
@@
class Pman_Core_NotifySmtpCheck extends Pman
//
// print_R($mailer);exit;
//
// print_R($mailer);exit;
- $headers = array(
- 'From' => $settings['username']
- );
-
$params = array(
'netdns' => false
);
$smtpmx = new Mail_smtpmx($params);
$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;
$smtpmx->_smtp = new Net_SMTP($server, $smtpmx->port, $smtpmx->mailname);
// print_R($smtpmx->_smtp);exit;