Marked the part for bug #845290
authorcentaurix <centaurix@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 29 Nov 2003 14:40:24 +0000 (14:40 +0000)
committercentaurix <centaurix@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 29 Nov 2003 14:40:24 +0000 (14:40 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6215 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/compose.php

index a2b7399e039a65e8ad2cd633b963ee3e7ea0c8c8..2bdacca4b167a895b9d4c20a3c9134987740d865 100644 (file)
@@ -669,6 +669,8 @@ function newMail ($mailbox='', $passed_id='', $passed_ent_id='', $action='', $se
             if ($identity_match) {
                 $identity = $identity_match;
             }
+           // we need identiy here fore draft case #845290
+           // echo $identity."leer";
         }
 
         switch ($action) {
@@ -683,6 +685,10 @@ function newMail ($mailbox='', $passed_id='', $passed_ent_id='', $action='', $se
             $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);
+/*        echo "debug: $identity"; #845290
+          $identity='2'; */
+            echo "header".decodeHeader($orig_header->getAddr_s('from'),false,true)."<BR>";
+           print_r($identities);
             $cnt = count($body_ary) ;
             $body = '';
             for ($i=0; $i < $cnt; $i++) {