From 8dfe78354471197dc34621d3738d8676c19f5910 Mon Sep 17 00:00:00 2001
From: "j.goderbauer" <j.goderbauer@adito.de>
Date: Fri, 11 Oct 2019 09:22:37 +0200
Subject: [PATCH] fix #1045182 readded the X-unsent param for writing mails #
 Conflicts: #	process/Email_lib/process.js

---
 process/Email_lib/process.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/process/Email_lib/process.js b/process/Email_lib/process.js
index f870838b550..64ac0072528 100644
--- a/process/Email_lib/process.js
+++ b/process/Email_lib/process.js
@@ -249,7 +249,7 @@ Email.prototype.getRFCmail = function ()
     //"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. 
     //Thunderbird has a dinosaur-request (it's from the year 2002) to also support this: https://bugzilla.mozilla.org/show_bug.cgi?id=166541 
-    //mail.addHeader(mailId, "X-Unsent", "1");
+    mail.addHeader(mailId, "X-Unsent", "1");//readded, TODO: why has this been removed?
     
     //accoding to this entry: https://stackoverflow.com/questions/11330628/os-x-mail-open-eml-files-in-compose-mode/33224913
     //something similar exists for OS X Mail
-- 
GitLab