Bug 79771 - When a message has a winmail.dat (TNEF) attachment, KMail always assumes it's an ical attachment
Summary: When a message has a winmail.dat (TNEF) attachment, KMail always assumes it's...
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 73951 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-16 20:25 UTC by Jan de Visser
Modified: 2007-09-14 12:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Message with winmail.dat attachment (4.17 KB, text/plain)
2004-04-16 20:26 UTC, Jan de Visser
Details
Patch fixing the parsing of non-meeting tnef attachments (1.66 KB, text/plain)
2004-05-17 00:42 UTC, Jan de Visser
Details
Patch superseeding earlier non-functional 'fix' (779 bytes, text/plain)
2004-06-01 23:30 UTC, Jan de Visser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan de Visser 2004-04-16 20:25:11 UTC
Version:           Version 1.6.51 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
 
OS:          Linux

Whenever I get a message with a winmail.dat (TNEF) attachment, KMail shows me this:

BEGIN:VCALENDAR PRODID:-//K Desktop Environment//NONSGML libkcal 3.2//EN VERSION:2.0 END:VCALENDAR 

and nothing else.

It appears that KMail assumes that every winmail.dat attachment has an ical meeting request in it, even if it doesn't. I usually get them from people using Microsoft rich text to compose messages.

It's annoying, 'cause you have to go to the mime tree and find the proper body part.

See attachment for example message.
Comment 1 Jan de Visser 2004-04-16 20:26:16 UTC
Created attachment 5663 [details]
Message with winmail.dat attachment
Comment 2 groot 2004-04-29 00:32:09 UTC
Confirmed with message with subject "KOrganizer and meetings with attendees" to kde-pim on april 29th.
Comment 3 Jan de Visser 2004-04-29 00:38:12 UTC
Well, um, technically they could be different problems I guess. Adriaan's 
problem is that whenever there's an ical, it thinks it is an invitation, 
whereas my problem is that it always thinks that a winmail.dat has an ical in 
it (which it then forces on you, triggering Adriaan's problem ;-)

Comment 4 Jan de Visser 2004-05-17 00:42:07 UTC
Created attachment 6032 [details]
Patch fixing the parsing of non-meeting tnef attachments
Comment 5 Thiago Macieira 2004-06-01 22:44:22 UTC
Bug #73951 is similar.
Comment 6 Jan de Visser 2004-06-01 23:30:49 UTC
Created attachment 6220 [details]
Patch superseeding earlier non-functional 'fix'

After a discussion on kmail-devel it was decided to disable the handling of
tnef attachments for 3.3. Ingo attempted to do as much, but his fix
(objecttreeparser.cpp rev 1.105) didn't work for me. This patch does.
Comment 7 Jan de Visser 2004-06-03 15:38:39 UTC
Can somebody with enough mojo please confirm this bug so I can close it? It's 
fixed. Thank you.

Comment 8 David Faure 2004-06-03 16:16:56 UTC
It's fixed -> closing.

Jan: you can close bugs but not confirm them? that's a bit strange; shall I check your bugzilla permissions?

Comment 9 Stephan Kulow 2004-06-03 20:33:02 UTC
David: any reporter can close his own bugs
Comment 10 David Faure 2004-06-03 20:39:04 UTC
I know. But now I also know what happened: Jan's email address changed.
The bug reporter is jan@devisser-siderius.com, but he's now jdevisser@digitalfairway.com.
Comment 11 Thiago Macieira 2004-12-22 02:09:12 UTC
*** Bug 73951 has been marked as a duplicate of this bug. ***