thunderbird / thunderbird/thunderbird-android

Add support for messages we can't properly parse

Open
#1,261 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: enhancement
Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

Expected behaviour

Checking of e-mails without crashing.

Actual behaviour

Exception and app exit. see attached log.txt & malformed spam email
note: I replaced the user part of my email address for privacy in the malformed spam email.

Steps to reproduce
  1. put the damaged spam mail (attached) in your inbox
  2. load k-9 app / check email
  3. crash to previous screen, with exception dialog
  4. goto 2
Environment

K-9 Mail version: 5.008 (f-droid)

Android version: 6.0.1 (cm-13)

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

log.txt

Claim_this_exclusive_offer_today!.eml.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the attached log.txt and malformed Claim_this_exclusive_offer_today!.eml.txt, then reproduce the crash by loading the message in the K-9 app with the reported IMAP setup. Trace the exception to the message-parsing path. Done means checking the inbox with this malformed message no longer crashes or exits the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.