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 4195fb39bb6d452bf50e23dc9960c9c2d3756edc..d4b3d7c18cbd9f5703c51f02378cc4cfb4820691 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);