Mailer.php
authorChris <chris@roojs.com>
Tue, 12 Nov 2013 08:56:06 +0000 (16:56 +0800)
committerChris <chris@roojs.com>
Tue, 12 Nov 2013 08:56:06 +0000 (16:56 +0800)
Mailer.php

index a26c64f..ab416da 100644 (file)
@@ -227,9 +227,17 @@ Content-Type: {$this->attachments[0]['mimetype']}; name=\"{$this->attachments[0]
 Content-Transfer-Encoding: base64 
 Content-Disposition: attachment
 
+{$this->attachments[0]['file']}
+
+--mixed-$random_hash
+Content-Type: {$this->attachments[0]['mimetype']}; name=\"{$this->attachments[0]['name']}\"
+Content-Transfer-Encoding: base64 
+Content-Disposition: attachment
+
 {$this->attachments[0]['file']}
 --mixed-$random_hash--
 ";
+
             $parts[2] = $str;
 //            --mixed-{t.random_hash}
 //Content-Type: multipart/alternative; boundary=alt-{t.random_hash}