* eSync: fix inline forward with attachment(s) and smartForward (e.g. GMail client) was broken

(not multipart/mixed, but text/html)
This commit is contained in:
ralf 2024-03-04 17:27:02 +02:00
parent 1e45b8dd9a
commit 00c36d6775

View File

@ -715,6 +715,8 @@ class mail_zpush implements activesync_plugin_write, activesync_plugin_sendmail,
$x = $mailObject->AddStringAttachment($attachmentData['attachment'], $attachment['name'], $attachment['mimeType']);
ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' added part with number:'.$x);
}
// if we have attachment(s), we need to use multipart/mixed
$mailObject->addHeader('Content-Type', 'multipart/mixed');
}
}
} // end forward