Bug 53668

Summary: "Virtual" messages generated from plain digests are broken
Product: [Applications] kmail Reporter: Malte S. Stretz <mss>
Component: messageviewerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: dominik.tritscher, jeremyhu, lathander
Priority: NOR Keywords: testcase, triaged
Version: 1.10.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of the message window
Sample mail
mail with headers in body
The rendering in 3.5.5

Description Malte S. Stretz 2003-01-30 15:36:25 UTC
Version:           1.5 (using KDE 3.1.0)
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:          Linux (i686) release 2.4.18

Hi, it's me again :o)

KMail 1.5 has this nice feature to display plain message digests like the ones from SourceForge as a set of "virtual" inline attached mails. The only problem: It doesn't really work; it seems like KMail doesn't parse it's own headers. I'll attach a screenshot and a sample mail.

Cheers,
Malte
Comment 1 Malte S. Stretz 2003-01-30 15:42:00 UTC
Created attachment 837 [details]
Screenshot of the message window
Comment 2 Malte S. Stretz 2003-01-30 15:42:35 UTC
Created attachment 838 [details]
Sample mail
Comment 3 Malte S. Stretz 2003-05-21 20:06:29 UTC
Created attachment 1623 [details]
mail with headers in body

In 1.5.2 it's even worse: now the Content-Type and Content-Description is shown
above the mail body; those headers must be generated by KMail because that mail
doesn't contain a Content-Description with such a value...
Comment 4 Malte S. Stretz 2003-09-03 14:43:16 UTC
*** Bug 63663 has been marked as a duplicate of this bug. ***
Comment 5 Malte S. Stretz 2003-09-03 14:47:23 UTC
As Gregor Waluga pointed out in bug 63663 does KMail also "swallow" some mails 
from the digest. In his case that might be because the body has the same 
format like mail headers and KMail misinterprets some of them (just an idea). 
Comment 6 Stephan Kulow 2003-09-22 22:30:03 UTC
*** Bug 64454 has been marked as a duplicate of this bug. ***
Comment 7 Sebastian Seifert 2003-09-23 09:56:01 UTC
Subject: Re:  "Virtual" messages from plain digest newsletter are broken

This bug is keeping me from reading mailing list digests.
I might change my attachment display from "as Icons" or "smart" to "inline" as 
a workaround, but I don't really want that for real attachments, and I don't 
want to change the setting every time I view a digest message.

Even if fixing this is complicated, I should at least be able to turn the 
message transformation feature off and view the unmangled message... 
enforcing it is just bad, especially when it's broken.

Sebastian

Comment 8 Stephan Kulow 2003-09-24 16:21:54 UTC
*** Bug 49924 has been marked as a duplicate of this bug. ***
Comment 9 Malte S. Stretz 2004-01-08 18:24:43 UTC
This still happens under KDE 3.2.
Comment 10 Philip Rodrigues 2006-10-28 19:18:00 UTC
Created attachment 18306 [details]
The rendering in 3.5.5

Similar on 3.5.5. Some headers are shown in the main part of the message, as
shown in attachment 1 [details], and the To and From headers aren't read properly in the
inline messages (as shown in this shot)
Comment 11 Dominik Tritscher 2008-08-31 14:32:53 UTC
This problem still exists in 4.1, testing with the sample mail from comment #2
Comment 12 Thomas McGuire 2009-08-14 00:00:24 UTC
SVN commit 1011081 by tmcguire:

Add a newline between MIME headers and message header, so that the objecttree parser can correctly parse the new
child nodes.
Andras, the bug report has a nice testcase for that.
CCMAIL: amantia@kde.org
BUG: 53668
MERGE: mailreader


 M  +1 -1      objecttreeparser.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1011081
Comment 13 Thomas McGuire 2009-08-14 00:06:11 UTC
SVN commit 1011085 by tmcguire:

Backport r1011081 by tmcguire from trunk to the 4.3 branch:

Add a newline between MIME headers and message header, so that the objecttree parser can correctly parse the new
child nodes.
Andras, the bug report has a nice testcase for that.
CCMAIL: amantia@kde.org
CCBUG: 53668
MERGE: mailreader



 M  +1 -1      objecttreeparser.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1011085