Bug 476329 - Incoming HTML e-mail believed to be Plain text, unless HTML by default option is on
Summary: Incoming HTML e-mail believed to be Plain text, unless HTML by default option...
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.24.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-30 16:42 UTC by Gert Oja
Modified: 2023-11-03 18:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Example e-mail that should have an HTML notice (71.99 KB, image/png)
2023-11-02 17:45 UTC, Gert Oja
Details
The same e-mail with HTML by default enabled (89.79 KB, image/png)
2023-11-02 17:46 UTC, Gert Oja
Details
Example e-mail that has an HTML notice (69.82 KB, image/png)
2023-11-03 17:55 UTC, Gert Oja
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gert Oja 2023-10-30 16:42:16 UTC
SUMMARY
An e-mail from chess.com through GMail appears as Plain Text and provides no option of being rendered as HTML in the top area of the message. However, if Configure KMail - Security - Reading - Prefer HTML to Plain Text is enabled, the message is rendered in HTML. This doesn't happen with an e-mail from instagram.com where the orange "This is an HTML message" option does appear.


STEPS TO REPRODUCE
1. Add GMail account
2. Receive message from e.g. chess.com
3. Open e-mail

OBSERVED RESULT
Marked as "Plain Message", no HTML option present.

EXPECTED RESULT
An orange bar saying "This is an HTML message" with the option to view as HTML should appear.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Wayland 1.22.0-1
Comment 1 Laurent Montel 2023-11-02 16:08:19 UTC
Hi,
is it possible to provide me this email  ? 
Otherwise I can't debug it.
Regards
Comment 2 Gert Oja 2023-11-02 17:45:41 UTC
Created attachment 162828 [details]
Example e-mail that should have an HTML notice
Comment 3 Gert Oja 2023-11-02 17:46:11 UTC
Created attachment 162829 [details]
The same e-mail with HTML by default enabled
Comment 4 Laurent Montel 2023-11-03 06:10:50 UTC
Hi,
test email that you send me work fine. We have area for showing as html no ?
I need an email which doesn't work :) as your "An e-mail from chess.com through GMail appears as Plain Text"

thanks
Comment 5 Gert Oja 2023-11-03 17:55:10 UTC
Created attachment 162847 [details]
Example e-mail that has an HTML notice
Comment 6 Gert Oja 2023-11-03 18:01:09 UTC
I've added 2 screenshots with the "Prefer HTML to plain text" option disabled. Both should show the orange HTML notice shown, but one does not. I don't really know what else to say, since a majority of the e-mails I have in the inbox that should have this orange banner don't have it (only 1 out of 10 e-mails in a recent selection of HTML e-mails has it). It doesn't seem to be dependent on what the receiving e-mail provider is.