projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43abf3a
)
Mailer.php
author
Edward
<edward@roojs.com>
Tue, 19 Feb 2019 09:16:57 +0000
(17:16 +0800)
committer
Edward
<edward@roojs.com>
Tue, 19 Feb 2019 09:16:57 +0000
(17:16 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
971dd19
..
bfa1acb
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-604,6
+604,10
@@
class Pman_Core_Mailer {
$mt = $a->getResponseHeader('Content-Type');
print_r($mt);
echo "\n";
+
+ if($mt == 'text/html; charset=UTF-8') {
+ print_R($data);
+ }
require_once 'File/MimeType.php';
$m = new File_MimeType();
$ext = $m->toExt($mt);