Hi Sam!
On Mon, 15 May 2006, Sam Varshavchik wrote:
Pawel Tecza writes:
Under MS Windows systems default mail client opens .msg files.
Unfortunately, Outlook Express is the most popular mail client
there, so if a user tries to download and open a message.msg file,
then it fails, because it's a raw message, not a message in
Outlook Express format. Maybe the better idea is downloading
a message as message.txt file?
[...]
"message.txt" would certainly not be appropriate for random binary files.
".txt" implies something that's not necessary true.
Downloaded message is a pure text file (if 7-bit encoded) or not
(if 8-bit encoded), right? But a message encoded in UTF is a text
file too ;)
Probably message.dat would be a better choice.
Good idea! I like it :) A .dat extension doesn't seem to be coupled
with any application under Windows. If I'm wrong, please correct me.
Thus the patch should be like below:
--- courier-0.53.1.20060502/webmail/folder.c-orig 2006-05-15 11:21:29.000000000
+0200
+++ courier-0.53.1.20060502/webmail/folder.c 2006-05-15 11:21:51.000000000 +0200
@@ -4505,7 +4505,7 @@
p=disposition_filename;
if (!p || !*p) p=content_name;
- if (!p || !*p) p="message.msg";
+ if (!p || !*p) p="message.dat";
disposition_attachment(stdout, p);
content_type="application/octet-stream";
free(disposition_filename);
BTW, what do you think about exporting message like in Pine?
It can save a decoded message without attachments and only with
a few the most important headers (Date:, From:, To:, Subject:).
In my opinion it's a more useful feature than downloading
a raw message.
Thanks a lot for your reply!