From 6f71f6e6734347bde49b9dc55738ccc8c72cff79 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Mon, 7 Apr 2008 16:20:11 +0000 Subject: [PATCH] Per last commit, fix other places using msg message file extension - change to eml git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13051 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 2 +- src/compose.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 18ddf201..987e0ff4 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -1549,7 +1549,7 @@ function attachSelectedMessages($imapConnection,$aMsgHeaders) { fwrite ($fp, $body); fclose($fp); - $composeMessage->initAttachment('message/rfc822',$subject.'.msg', + $composeMessage->initAttachment('message/rfc822',$subject.'.eml', $filename); } } diff --git a/src/compose.php b/src/compose.php index 685a9706..917a6d2f 100644 --- a/src/compose.php +++ b/src/compose.php @@ -1004,7 +1004,7 @@ function getAttachments($message, &$composeMessage, $passed_id, $entities, $imap if ($filename == "") { $filename = "untitled-".$message->entity_id; } - $filename .= '.msg'; + $filename .= '.eml'; } else { $filename = $message->getFilename(); } @@ -1067,7 +1067,7 @@ function getMessage_RFC822_Attachment($message, $composeMessage, $passed_id, $fp = fopen($hashed_attachment_dir . '/' . $localfilename, 'wb'); fwrite ($fp, $body); fclose($fp); - $composeMessage->initAttachment('message/rfc822',$subject.'.msg', + $composeMessage->initAttachment('message/rfc822',$subject.'.eml', $localfilename); } return $composeMessage; -- 2.25.1