projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fcc8e4
)
Mailer.php
author
Chris
<chris@roojs.com>
Tue, 12 Nov 2013 09:12:47 +0000
(17:12 +0800)
committer
Chris
<chris@roojs.com>
Tue, 12 Nov 2013 09:12:47 +0000
(17:12 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
2a784a4
..
b1bba2b
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-215,7
+215,9
@@
class Pman_Core_Mailer {
// print_r($parts);exit;
if($this->attachments){
//if got a attachments
+ $contentType = 'Content-Type: text/plain; charset=utf-8';
if (isset($parts[1]['Content-Type'])) {
+ $contentType = $parts[1]['Content-Type'];
unset($parts[1]['Content-Type']);
}
$random_hash = md5(date('r', time()));