Bug 107067 - Autodetect message/news attachments and set MIME type accordingly
Summary: Autodetect message/news attachments and set MIME type accordingly
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-08 21:10 UTC by Tristan Miller
Modified: 2009-04-25 23:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2005-06-08 21:10:40 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    SuSE RPMs

Steps to reproduce:

1. Message->New message
2. Attach->Attach file
3. Select a file containing a Usenet message; click Attach

Observed behaviour:

4. KMail attaches the message as type "text/plain"

Expected behaviour:

5. KMail should attach the message as type "message/news"
Comment 1 Tristan Miller 2005-06-08 21:16:00 UTC
I've done some more testing.  I've discovered that only when the attachment has the filename extension ".txt" does KMail attach the file as type text/plain.  Perhaps it's not so bad that the filename extension overrides the actual MIME type.  However, when the message/news attachment in question has no extension, then KMail attaches it as type "message/rfc822", which is incorrect.

To fix this bug, KMail should check for the presence of a "Newsgroups:" header.
Comment 2 Carsten Burghardt 2005-06-08 22:31:50 UTC
That's a wish.
Comment 3 Tristan Miller 2009-04-25 23:18:01 UTC
Appears to be fixed in KDE 4.2.2.