insert empty line before the forward header
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 6 Oct 2002 17:46:00 +0000 (17:46 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 6 Oct 2002 17:46:00 +0000 (17:46 +0000)
Thnx Cor Bosman.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3772 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/compose.php

index 4195fb3..d4b3d7c 100644 (file)
@@ -333,6 +333,7 @@ if ($send) {
         $body = $newBody;
         do_hook('compose_send');
         $composeMessage=$compose_messages[$session];
+
        $Result = sendMessage($composeMessage);
         if (! $Result) {
             showInputForm($session);
@@ -642,6 +643,7 @@ function newMail ($mailbox='', $passed_id='', $passed_ent_id='', $action='', $se
             $body = getforwardHeader($orig_header) . $body;
             sqUnWordWrap($body);
             $composeMessage = getAttachments($message, $composeMessage, $passed_id, $entities, $imapConnection);
+           $body = "\n" . $body;
             break;
         case ('forward_as_attachment'):
             $composeMessage = getMessage_RFC822_Attachment($message, $composeMessage, $passed_id, $passed_ent_id, $imapConnection);