X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=inline;f=src%2Fcompose.php;h=1cd22ce72d46f3aaf5c939e437a8c0294014d4eb;hb=c3ccfa1912b4ca47279d259bb587ceb293ce5d83;hp=61d1c208aa2732fc8bcefda5f58c8e0618fc9cd7;hpb=181538ac1e8af1eca32add5c02b00aa014ad39d4;p=squirrelmail.git diff --git a/src/compose.php b/src/compose.php index 61d1c208..1cd22ce7 100644 --- a/src/compose.php +++ b/src/compose.php @@ -666,8 +666,8 @@ function newMail ($mailbox='', $passed_id='', $passed_ent_id='', $action='', $se $send_to_bcc = decodeHeader($orig_header->getAddr_s('bcc'),false,true); $subject = decodeHeader($orig_header->subject,false,true); // /* remember the references and in-reply-to headers in case of an reply */ -// $composeMessage->rfc822_header->more_headers['References'] = $orig_header->references; -// $composeMessage->rfc822_header->more_headers['In-Reply-To'] = $orig_header->in_reply_to; + $composeMessage->rfc822_header->more_headers['References'] = $orig_header->references; + $composeMessage->rfc822_header->more_headers['In-Reply-To'] = $orig_header->in_reply_to; $body_ary = explode("\n", $body); $cnt = count($body_ary) ; $body = ''; @@ -1435,9 +1435,9 @@ function deliverMessage($composeMessage, $draft=false) { } else { $rfc822_header->encoding = '8bit'; } - } - if ($default_charset) { - $content_type->properties['charset']=$default_charset; + if ($default_charset) { + $content_type->properties['charset']=$default_charset; + } } $rfc822_header->content_type = $content_type;