Bug 53668 - "Virtual" messages generated from plain digests are broken
Summary: "Virtual" messages generated from plain digests are broken
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: messageviewer (show other bugs)
Version: 1.10.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: testcase, triaged
: 49924 63663 64454 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-01-30 15:36 UTC by Malte S. Stretz
Modified: 2009-08-14 16:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of the message window (12.72 KB, image/png)
2003-01-30 15:42 UTC, Malte S. Stretz
Details
Sample mail (31.71 KB, message/rfc822)
2003-01-30 15:42 UTC, Malte S. Stretz
Details
mail with headers in body (10.63 KB, image/png)
2003-05-21 20:06 UTC, Malte S. Stretz
Details
The rendering in 3.5.5 (18.18 KB, image/png)
2006-10-28 19:18 UTC, Philip Rodrigues
Details

Note You need to log in before you can comment on or make changes to this bug.
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