projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a1c1df
)
debug
author
Alan Knowles
<alan@roojs.com>
Thu, 22 Jul 2021 07:08:53 +0000
(15:08 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 22 Jul 2021 07:08:53 +0000
(15:08 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
2b3c274
..
c289c55
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-365,6
+365,12
@@
class Pman_Core_Mailer {
}
$oe = error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
+ if ($this->debug) {
+ print_r(array(
+ 'rcpts' => $rcpts,
+ 'email' => $email
+ ));
+ }
$ret = $mail->send($rcpts,$email['headers'],$email['body']);
error_reporting($oe);
if ($ret === true) {