replaceImages => true|false,
locale => 'en' .... or zh_hk....
rcpts => array() // override recipients..
+ attachments => array(
+ array(
+ file:
+ name : (optional) - uses basename of file
+ mimetype :
+ ),
+ ......
+
]
*
* recipents is gathered from the resulting template
foreach($this->attachments as $attch){
$str .= "
--mixed-$random_hash
-Content-Type: {$attch['mimetype']}; name=\"{$attch['name']}\"
+Content-Type: {$attch['mimetype']};
Content-Transfer-Encoding: base64
Content-Disposition: attachment