I've updated to KDE 16.12.3 (from 16.08) and now kmail no longer uses my contacts for deciding to show a mail as HTML or not. I get mails from an internal bugtracker in HTML format and I selected the sender address already multiple times and checked "show HTML when mail comes from this contact" I find this exact address also already 3 times in kaddressbook (local contacts folder) but kmail refuses to apply this setting
I debugged it. Are you sure that you all contact has the same settings ? As kmail will use the first one found.
I checked again with my current setup. I'm now using kmail 5.8.3 on openSuse Leap 15.0. I have the address only once in the addressbook (the address is in an addressbook stored on an ownCloud server in my local network). I set the address to "show HTML" and checked "allow remote content" - still when I select a mail received from this address it does not show me the HTML version but instead shows the usual text in the red rectangle: "Note: This is an HTML message. For security reasons, only the raw HTML code is shown. If you trust the sender of this message then you can activate formatted HTML display for this message by clicking here." Interesting to see is that when I right-click on the sender address in kmail and open the submenu "Show HTML Format" in the context menu, NONE of the 2 checkboxes are checked! I did set the "show HTML" from within kaddressbook. So it seems kmail does not read the same information as kaddressbook in this case.
Created attachment 125517 [details] Log from KMail session
While I could reproduce this issue with KMail 5.5.2, nowadays it seems to work correctly with KMail 5.9.2 (Qt 5.11.2 / KF 5.51) as well as KMail 5.14.40 (Qt 5.14.1 / KF 5.69). Notes: - I was only using a local address book. - After using the "Show HTML Format" context menu, I had to switch back and forth between messages for the setting to get applied. Martin: Could you try to reproduce again with a current version, using your remote address book?
Using current Version 5.14.0 (20.04.0) self compiled, it still does not work.
Created attachment 133961 [details] Video Clicking the checkboxes doesn't always work.
Which version do you use as I already fixed it.
(In reply to Laurent Montel from comment #7) > Which version do you use as I already fixed it. 5.15.3 (20.08.3)