K-9: Bad <hr> detection causes emails to appear empty

Created on 1 Jan 2018  Â·  9Comments  Â·  Source: k9mail/k-9

Some emails displayed empty, despite there is text in the email body.
Note: Email preview in notification window shows (part) of body; but email body seems empty in K9.

This behavior has been introduced with the latest K9 update a few days ago.

Expected behavior

Email displayed correctly.

Actual behavior

Email shown empty. When using "Reply" on the mail, no email body is shown, the wait cursor is shown indefinitely.

Steps to reproduce

Not sure why some emails get not displayed. I could provide the emails not correctly shown if needed.

Environment

K-9 Mail version: 5.400

Android version:
7.1.1 and also 4.4.4

Account type (IMAP, POP3, WebDAV/Exchange): POP3

bug

All 9 comments

I am experiencing this issue as well. Actually recognized it with mail from Amazon. I can also confirm mails being shown empty when replying or forwarding.

I have the same problem. Sometimes it manifests as an empty email body, sometimes entire folders being shown as empty, even though they contain dozens of messages, in which case force-killing and restarting K9 sometimes works. I'm providing an example email here:
https://gist.github.com/ennorehling/419c876cccb6cb96d5b68c6b150e9751

K-9 Mail version: 5.400

Android version: 7.0

Account type (IMAP, POP3, WebDAV/Exchange): IMAP

I experience the same bug, when replying to a message.

Thanks to the message provided by @ennorehling I was able to reproduce this. Expect this bug to be fixed in K-9 Mail 5.401.

Great news, thank you for your effort!

@enno: Small world. I used to play "your" Eressea for a few years :-)

Cheers guys,

-Roman


Dipl.Ing. Roman Benesch
Roman.[email protected]
+43-699-12-60-80-90

cketti notifications@github.com hat am 2. Januar 2018 um 13:36 geschrieben:

Thanks to the message provided by @ennorehling https://github.com/ennorehling I was able to reproduce this. Expect this bug to be fixed in K-9 Mail 5.401.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/k9mail/k-9/issues/3018#issuecomment-354757939 , or mute the thread https://github.com/notifications/unsubscribe-auth/AegMhui2BgPwE4UTEYsAwvUnfu9QznuQks5tGiKwgaJpZM4RQEdk .

I can confirm that this is now fixed for me. Thank you for the quick response!

For me the bug still exists after upgrading to 5.401. When I reply to an email the quoted email is empty.

@DPTJKKVH: Then it's most likely a different problem. In any case please open a new issue and provide a message that triggers this behavior. Otherwise there's no way we can fix the bug.

For me as well, fixed. Thank you very much! That was amazingly fast! :)

On January 3, 2018 11:29:15 PM GMT+01:00, Enno Rehling notifications@github.com wrote:

I can confirm that this is now fixed for me. Thank you for the quick
response!

--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/k9mail/k-9/issues/3018#issuecomment-355145929

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

farson2003 picture farson2003  Â·  4Comments

Agno94 picture Agno94  Â·  3Comments

Immortalin picture Immortalin  Â·  3Comments

SpatMan05 picture SpatMan05  Â·  3Comments

NovaViper picture NovaViper  Â·  3Comments