Bug 99683 - HTML message parts are being ignored
Summary: HTML message parts are being ignored
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: messageviewer (show other bugs)
Version: 1.7.92
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2005-02-18 11:02 UTC by Rich Birch
Modified: 2012-08-19 00:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Source of an email where the html part is ignored (spam btw) (3.53 KB, text/plain)
2005-02-18 11:04 UTC, Rich Birch
Details
Raw email message that is partly ignored (11.29 KB, text/plain)
2005-09-13 21:46 UTC, Dik Takken
Details
"No HTML Message" displayed to the left of the message pane. (18.22 KB, application/mbox)
2010-01-15 02:57 UTC, Glenn Burkhardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rich Birch 2005-02-18 11:02:18 UTC
Version:            (using KDE KDE 3.3.92)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1) 
OS:                Linux

I have received several emails recently where only the plaintext part is displayed and it says 'No html message' down the left side of the preview panel. But upon viewing the source of the email there is clearly an html part which is being ignored. It's not happening with every email that contains html though.
Comment 1 Rich Birch 2005-02-18 11:04:56 UTC
Created attachment 9694 [details]
Source of an email where the html part is ignored (spam btw)
Comment 2 Rich Birch 2005-02-18 11:59:17 UTC
Having looked through a few messages now, it seems like if both plain text and html parts are present then the html is ignored and only the plaintext is shown. When only html is present then I get the proper message 'Note: This is an html message. For security reasons....'
Comment 3 Dik Takken 2005-09-13 21:45:44 UTC
This happens to me too, from time to time. The raw email message ( see attachment below) only shows the line:

"This is a HTML message. Open it using a HTML compliant email application."

The actual message is not displayed.
Comment 4 Dik Takken 2005-09-13 21:46:36 UTC
Created attachment 12555 [details]
Raw email message that is partly ignored
Comment 5 Edwin Schepers 2005-09-17 10:35:31 UTC
hello Dik,
which version are you using ? my recent svn version displays both messages correctly.
Comment 6 Jörg Hermsdorf 2006-03-05 19:36:57 UTC
I can confirm this problem with KDE 3.5.1, it's easily reproduceable:
1. Create a new message
2. Enable HTML-Formatting
3. write some words and apply some HTML-Formatting
4. save the message in Drafts folder
5. open the message in Drafts folder

The message you just created is a multipart/alternative message. The first part is the text-only part which is displayed by default. There is no indication, that this message also has a html-part (only if you scroll down and look in attachments).
Kmail should somehow indicate that this is a multipart/alternative message. The default behavior of displaying multipart/alternative messages should be configurable. It should be configurable if Kmail displays the html-part or the text-part by default.
Comment 7 Jaime Torres 2008-08-31 12:43:58 UTC
In kmail 1.10.0 (kde 4.1.60 svn trunk 838252) there is the global option (in security, reading, html messages) to read mails using the html part (less secure) or the plain text part (more secure).
Also, in the plain text, pressing over the html part you can see the raw html message and pressing a link the html formatted message.
Comment 8 Jaime Torres 2008-08-31 14:03:29 UTC
Changed to a wish for:

The side pane actually shows the part type actually shown.
The wish is to show the message type actually shown, that in the case of  multipart/alternative messages with plaintext and html, should be HTML message.
Comment 9 David Gaya 2008-11-18 23:09:04 UTC
*** This bug has been confirmed by popular vote. ***
Comment 10 ra.be.baerlin 2009-07-28 19:25:57 UTC
So I ran into that problem also.

Moreover I have discovered that in cases that the MIME-Type is "multipart/mixed" instead of "multipart/alternative" HTML-document an plain-text-document may go along and the "Note: This is an HTML message...."-Box appears as wanted and expected.

The contrary incidents where a daily mail from the mailing-list of "linux-magazin.de" and a thread of mails and replies and replies via googlemail.com.

So the big question is: is there a way to set/change the MIME-Type?

kmail ver:1.11.4 os:Linux (x86_64) release 2.6.27.25-170.2.72.fc10.x86_64 comp:gcc
Comment 11 Glenn Burkhardt 2010-01-15 02:57:12 UTC
Created attachment 39911 [details]
"No HTML Message" displayed to the left of the message pane.

I'm seeing a similar problem with version 4.3.2.  One of my correspondents must have changed their mailer, since earlier emails from the same source used to work.  I'm attaching the message.  Both Evolution and Thunderbird can view this email.
Comment 12 Myriam Schweingruber 2012-08-18 08:45:59 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 13 Luigi Toscano 2012-08-19 00:43:48 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.