Bug 357676 - HTML-only email rendered as plain text
Summary: HTML-only email rendered as plain text
Status: RESOLVED WORKSFORME
Alias: None
Product: trojita
Classification: Applications
Component: Desktop GUI (other bugs)
Version First Reported In: git
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Trojita default assignee
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-01-07 23:25 UTC by Luke-Jr
Modified: 2018-10-27 02:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Raw email (24.64 KB, message/rfc822)
2016-01-07 23:26 UTC, Luke-Jr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2016-01-07 23:25:41 UTC
Message has the header

    Content-Type: text/html; charset="iso-8859-1" 

But the HTML is displayed as plain text, not rendered as HTML.


Reproducible: Always
Comment 1 Luke-Jr 2016-01-07 23:26:53 UTC
Created attachment 96517 [details]
Raw email
Comment 2 Jan Kundrát 2016-01-08 07:43:33 UTC
Please attach the data that your IMAP server returns in the BODYSTRUCTURE 
for this message. Here's how to do it:

1) Activate logging into an on-disk file (IMAP -> Debugging -> Log into 
...).
2) Create a new mailbox just for this new e-mail.
3) Copy this message into that mailbox.
4) Open that mailbox.
5) Attach the log.
Comment 3 Luke-Jr 2016-01-08 15:58:06 UTC
I don't really want to mess with my folders or mailbox... Isn't there some cleaner way to run the command?
Comment 4 Thomas Lübking 2016-01-08 17:55:47 UTC
No.
You can try to grep the relevant data from the full log, but you won't like doing that.

What's the problem about adding a subdir, copy the mail there, open the dir, dump the log and then removing the dir again? That's not nearly as troublesome.

I assume Jan requires it to figure whether trojita messes network replies or the server returns the html part as text/plain.
I'd expect the latter and the question is then whether trojita would better post-inspect the content-type field to "fix" that - however, there's no point in doing that if there's actually a bug in reply handling, so please provide the log data.
Comment 5 Jan Kundrát 2016-01-09 09:04:51 UTC
In order to know whether the bug is in Trojita or somewhere else, we need 
the raw BODYSTRUCTURE response from your IMAP server. The steps above are 
an example on how to get one (and as Thomas suggested, it's trivial to 
remove that extra folder afterwards).
Comment 6 Jan Kundrát 2016-01-25 19:52:00 UTC
Please reopen this bug when you've attached the requested log.
Comment 7 Andrew Crouthamel 2018-09-25 21:45:20 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Andrew Crouthamel 2018-10-27 02:18:24 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!