GNOME Bugzilla – Bug 730680
Invisible message contents (allow for fallback to text/plain)
Last modified: 2021-07-05 13:26:48 UTC
Digest emails sent by quora.com are invisible except for a footer part (which starts with "To control which emails we send you, visit: Email Settings"). In the latest email I received which exhibits this problem, the body is made of two sections: --===============1650401193== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable and: --===============1650401193== Content-Type: text/html; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable The HTML section is a table.
-- This does not happen with every digest mail I receive from Quora. -- I haven't seen this problem while opening the same messages with Thunderbird (24.5)
Mistake in my description: Mails from "Quora Digest <digest-noreply@quora.com>" are visible. Mails which are not displayed are not digests, but 'New answer' to a question followed on quora.
Which section is being displayed, the text/plain or the text/html? Does that section contain all of the content, or only some of it. If you don't mind attaching the email here, it would help us to see it. Feel free to X-out any sensitive information.
Created attachment 277154 [details] mail message The complete text displayed is the following, except that "Email settings" and "Unsubscribe" are hyperlinks in Geary's window. """ To control which emails we send you, visit: Email Settings This email was sent by Quora (650 Castro Street #450, Mountain View, CA 94041). Quora is your best source for knowledge. To disable all email from Quora, visit the following link: Unsubscribe. """
Thanks a bunch. I can reproduce the problem. The issue is that the HTML part of the message is invalid. It has a bunch of HTML code, then <html><body>, then the part quoted above, then </body></html>, then some more HTML. When we notice an open <html> tag, we use only the contents of its <body> tag, to avoid including parts of the <head>. When the HTML is this badly broken, I don't know what we should do. Perhaps we should replace all emails from Quora with a link to Stack Exchange :).
I sent an email to Quora. In Geary, is there a way to fallback to text/plain ?
Unfortunately, there's not, although that's something worth considering. It's not a guarantee fix, of course, if the sender didn't supply a plain version of the message, but I suspect in a lot of situations it would at least allow the user to get around this problem.
See bug #714306 and bug #731630 for related issues.
Also Bug 769868.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/geary/-/issues/ Thank you for your understanding and your help.