mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
W.I.P. mail inline images: Include inline images as inline attachments before send
This commit is contained in:
parent
58aaff6b9b
commit
09fdc8d0fe
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user