From 041d360b6d4e68428aa55fdc08940938535886f9 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sat, 18 Nov 2017 22:09:00 +0000 Subject: [PATCH] Make drafts send with in-reply-to headers (fix regression from long ago) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14732 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/compose.php b/src/compose.php index 17d3be56..922854a7 100644 --- a/src/compose.php +++ b/src/compose.php @@ -926,6 +926,9 @@ function newMail ($mailbox='', $passed_id='', $passed_ent_id='', $action='', $se // rewrap the body to clean up quotations and line lengths sqBodyWrap($body, $editor_size); $composeMessage = getAttachments($message, $composeMessage, $passed_id, $entities, $imapConnection); +//TODO: completely unclear if should be using $compose_session instead of $session below + $compose_messages[$session] = $composeMessage; + sqsession_register($compose_messages,'compose_messages'); break; case ('edit_as_new'): $send_to = decodeHeader($orig_header->getAddr_s('to'),false,false,true); -- 2.25.1