Bug 252503 - (some?) multi-part messages are not properly displayed
Summary: (some?) multi-part messages are not properly displayed
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-27 08:12 UTC by Daniel Franke
Modified: 2015-04-12 10:20 UTC (History)
1 user (show)

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 Daniel Franke 2010-09-27 08:12:35 UTC
Version:           1.13.2
OS:                Linux

Some people unknowingly send multi-part messages that start with text/plain and later continue with text/html. To them, in their composer, it appears to be a single, continuous, text. However, in KMail, only the text/plain part is shown and no indication of a the text/html part is to be seen anywhere - the mail appears to be truncated and the only way to see the rest is to "View Source".

Example (supposedly relevant lines only):
-- 8< --
X-Mailer: Oracle Connector for Outlook 10.1.3.0.7 90418 (11.0.8325)
MIME-Version: 1.0
Content-Type: multipart/alternative;
  boundary=-------2605678026056780

This is a multi-part message in MIME format

---------2605678026056780
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

[snipped visible text]

---------2605678026056780
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">

[snipped rest of HTML document]

</HTML>

---------2605678026056780--




Reproducible: Sometimes
Comment 1 Davor Cubranic 2011-01-28 05:52:49 UTC
If the content-type is 'multipart/alternative', then the two parts should (according to the standard) be different representations of the same content. And KMail should show the format you chose as preferred in your settings, but also display a thin black bar along the left edge of the message that serves to toggle between the two formats.

Does this not happen for some of your messages?
Comment 2 Daniel Franke 2011-01-28 13:55:13 UTC
(In reply to comment #1)
> Does this not happen for some of your messages?

The original report was a few months ago and since then I did not observe the problem any more (due to lack of mail from that source). The mails that exposed the described problem were already deleted.

Sorry, no new info from my side.
Comment 3 Laurent Montel 2015-04-12 10:20:22 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.