Skip to content
Snippets Groups Projects
Commit 09cdce6e authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

fix: writing mail with no content

parent 4499939b
No related branches found
No related tags found
No related merge requests found
......@@ -127,6 +127,8 @@ Email.prototype.getRFCmail = function ()
if (this.body)
mail.addText(mailId, this.body, "text/html", ENCODING, null);
else
mail.addText(mailId, "", "text/html", ENCODING, null);
//"X-Unsent" is a very badly, non-standardised header to gently ask the mail client that the mail should open in a compose-mode
//this is mainly done for Microsoft Outlook for Windows.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment