projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9384e5c
)
NotifySmtpCheck.php
author
edward
<edward@roojs.com>
Thu, 14 Jul 2016 04:25:12 +0000
(12:25 +0800)
committer
edward
<edward@roojs.com>
Thu, 14 Jul 2016 04:25:12 +0000
(12:25 +0800)
NotifySmtpCheck.php
patch
|
blob
|
history
diff --git
a/NotifySmtpCheck.php
b/NotifySmtpCheck.php
index
4aaa448
..
7765062
100644
(file)
--- a/
NotifySmtpCheck.php
+++ b/
NotifySmtpCheck.php
@@
-42,12
+42,16
@@
class Pman_Core_NotifySmtpCheck extends Pman
);
$params = array(
- 'netdns' => false,
- 'mailname' => 'edward.roojs'
+ 'netdns' => false
);
$smtpmx = new Mail_smtpmx($params);
+ $result = $smtpmx->_sanitizeHeaders($headers);
+ if (is_a($result, 'PEAR_Error')) {
+ $this->jerr("Error occour on '_sanitizeHeaders' \n");
+ }
+
$smtpmx->_smtp = new Net_SMTP($server, $smtpmx->port, $smtpmx->mailname);
// print_R($smtpmx->_smtp);exit;