$this->htmlbodytoCID($htmlbody);
- }
+ }
+
+
+
$template = new HTML_Template_Flexy( array(
'nonHTML' => true,
));
'@' . $content->HTTP_HOST .'>';
+
+
+ if ($htmlbody !== false) {
+ require_once 'Mail/mime.php';
+ $mime = new Mail_mime(array('eol' => "\n"));
+
+ $mime->setTXTBody($parts[2]);
+ $mime->setHTMLBody($htmlbody);
+
+ foreach($)
+
+ $mime->addAttachment($file, 'text/plain');
+
+ $parts[2] = $mime->get();
+ $parts[1]= $mime->headers($parts[1]);
+
+
+
+
+
+
+
+
// list($recipents,$headers,$body) = $parts;
return array(
'recipents' => $parts[0],