projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d722da
)
Mailer.php
author
Alan Knowles
<alan@roojs.com>
Tue, 4 Sep 2018 06:24:02 +0000
(14:24 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 4 Sep 2018 06:24:02 +0000
(14:24 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
52c1133
..
23fb875
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-373,7
+373,10
@@
class Pman_Core_Mailer {
'Subject: ' . @$email['headers']['Subject']
);
} else {
- $pg->addEvent("COREMAILER-FAIL", false, $ret->toString());
+ $pg->addEvent("COREMAILER-FAIL", false,
+ "Sending to : " . ( is_array($rcpts) ? implode(', ', $rcpts) : $rcpts ) .
+ " Error: " . $ret->toString());
+
}
return $ret;