W.I.P. mail inline images: Include inline images as inline attachments before send

This commit is contained in:
Hadi Nategh 2015-05-18 11:36:11 +00:00
parent 58aaff6b9b
commit 09fdc8d0fe

View File

@ -2285,7 +2285,7 @@ class mail_compose
$_mailObject->setBody($this->convertHTMLToText($body, true, true));
}
// convert URL Images to inline images - if possible
if (!$_autosaving) mail_bo::processURL2InlineImages($_mailObject, $body);
if (!$_autosaving) mail_bo::processURL2InlineImages($_mailObject, $body, $mail_bo);
if (strpos($body,"<!-- HTMLSIGBEGIN -->")!==false)
{
$body = str_replace(array('<!-- HTMLSIGBEGIN -->','<!-- HTMLSIGEND -->'),'',$body);