diff --git a/notifications/inc/class.notifications_email.inc.php b/notifications/inc/class.notifications_email.inc.php index 8be7dfe8532..80684582e53 100644 --- a/notifications/inc/class.notifications_email.inc.php +++ b/notifications/inc/class.notifications_email.inc.php @@ -104,6 +104,11 @@ public function send(array $_messages, $_subject = false, $_links = false, $_att $this->mail->setFrom($this->sender->account_email, $this->sender->account_fullname); $this->mail->addHeader('Subject', trim($_subject)); // trim the subject to avoid strange wrong encoding problem + if ($_messages['html']) + { + // embed images as inline + \EGroupware\Api\Mail::processURL2InlineImages($this->mail, $body_html, null); + } $this->mail->setHtmlBody($body_html, null, false); // no automatic alternativ $this->mail->setBody($body_plain);