After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 730680 - Invisible message contents (allow for fallback to text/plain)
Invisible message contents (allow for fallback to text/plain)
Status: RESOLVED OBSOLETE
Product: geary
Classification: Other
Component: client
0.6.x
Other Linux
: Normal normal
: ---
Assigned To: Geary Maintainers
Geary Maintainers
Depends on: 769868
Blocks:
 
 
Reported: 2014-05-24 09:27 UTC by agmaviar
Modified: 2021-07-05 13:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mail message (28.29 KB, text/plain)
2014-05-25 17:37 UTC, agmaviar
Details

Description agmaviar 2014-05-24 09:27:31 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.
Comment 1 agmaviar 2014-05-24 09:32:48 UTC
-- 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)
Comment 2 agmaviar 2014-05-24 09:42:49 UTC
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.
Comment 3 Robert Schroll 2014-05-24 17:16:41 UTC
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.
Comment 4 agmaviar 2014-05-25 17:37:45 UTC
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.
"""
Comment 5 Robert Schroll 2014-05-25 18:17:46 UTC
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 :).
Comment 6 agmaviar 2014-05-26 09:06:40 UTC
I sent an email to Quora.

In Geary, is there a way to fallback to text/plain ?
Comment 7 Jim Nelson 2014-05-27 21:39:36 UTC
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.
Comment 8 Jim Nelson 2014-06-13 19:39:42 UTC
See bug #714306 and bug #731630 for related issues.
Comment 9 Michael Gratton 2017-01-27 08:00:00 UTC
Also Bug 769868.
Comment 10 GNOME Infrastructure Team 2021-07-05 13:26:48 UTC
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.