projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4847ba7
)
NotifySend.php
author
Alan Knowles
<alan@roojs.com>
Thu, 30 Oct 2014 04:24:49 +0000
(12:24 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 30 Oct 2014 04:24:49 +0000
(12:24 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
74a209f
..
132c78e
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-335,9
+335,7
@@
class Pman_Core_NotifySend extends Pman
'timeout' => 15,
'socket_options' => isset($ff->Mail['socket_options']) ? $ff->Mail['socket_options'] : null,
'debug' => isset($opts['debug']) ? 1 : 0,
- 'debug_handler' => function($net_smtp, $message) uses ($debug_str) {
- $debug_str += $message;
- }
+ 'debug_handler' => array($this, 'debugHandler')
));
$res = $mailer->send($p->email, $email['headers'], $email['body']);