1 message in net.sourceforge.lists.courier-sqwebmail[sqwebmail] Downloading a message as ...
FromSent OnAttachments
Pawel TeczaMay 16, 2006 2:23 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[sqwebmail] Downloading a message as message.txt file (fwd)Actions...
From:Pawel Tecza (p.te@net.icm.edu.pl)
Date:May 16, 2006 2:23:33 am
List:net.sourceforge.lists.courier-sqwebmail

---------- Forwarded message ---------- Date: Mon, 15 May 2006 11:30:17 +0200 (CEST) From: Pawel Tecza <p.te@net.icm.edu.pl> To: cour@lists.sourceforge.net Subject: Downloading a message as message.txt file

Hi Sam,

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? Below is an appropriate patch:

--- 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.txt"; disposition_attachment(stdout, p); content_type="application/octet-stream"; free(disposition_filename);

Have a nice day,