thunderbird-android: Better handling of invalid Date headers
I spotted in some emails a date in the following format:
Date: 06-MAY-2016 19:00:22
I think due to the uppercase month, k-9 mail is unable to handle them, and displays them as they were sent at the time they were received. Can you work around this issue?
About this issue
- Original URL
- State: open
- Created 8 years ago
- Comments: 17 (3 by maintainers)
I have changed my mind on this. I’m no longer opposed to performing all kinds of magic to derive a sensible display date from a message. However, in those cases I want K-9 Mail to display an error banner, letting users know that the email is broken. Ideally users will contact the sender of the message and get them to fix their system so future messages won’t show up in K-9 Mail with an annoying error banner.
I want to show an error banner because silently fixing the situation will take away the little bit of pressure there is to fix the bug causing the problem. Showing a banner is more annoying than showing a wrong date. So ideally users will a) blame the correct party and b) create enough pressure to get the software fixed that generated the broken message.
Adding the “date fixing” first and the error banner later, is a great way to never show an error banner because nobody will ever get around to adding it. And now K-9 Mail is part of the problem (silently fixing the errors of others).