projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc06731
)
Mailer.php
author
Chris
<chris@roojs.com>
Tue, 12 Nov 2013 09:04:29 +0000
(17:04 +0800)
committer
Chris
<chris@roojs.com>
Tue, 12 Nov 2013 09:04:29 +0000
(17:04 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
b23a3f8
..
3d560cb
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-235,7
+235,7
@@
Content-Type: multipart/alternative; boundary=alt-$random_hash
foreach($this->attachments as $attch){
$str .= "
--mixed-$random_hash
-Content-Type: {$attch['mimetype']};
+Content-Type: {$attch['mimetype']};
".(empty($attch['name'])) ? '' : "name=\"{$attch['name']}\"
Content-Transfer-Encoding: base64
Content-Disposition: attachment