thunderbird / thunderbird/thunderbird-android

De-duplicate addresses in recipient fields

Open
#4,781 4 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

Please search to check for an existing issue (including closed issues, for which the fix may not have yet been released) before opening a new issue: https://github.com/k9mail/k-9/issues?q=is%3Aissue

Expected behavior

Tell us what should happen

I reply all to an email in which the sender has cc'd him or herself. This results in the sender's email showing up twice in the header. I expect the delicate to be ignored, as it is in every other email client I've used in the past 20 years or more.

Actual behavior

Tell us what happens instead

Message gets stuck in outbox. At least the error message explains it and I can edit it again to remove the duplicate and resend.

Steps to reproduce
  1. Reply all to an email on which the sender has cc'd herself
  2. Note that sender's email is in the header twice, once in cc, once in to
  3. Send, now that message is stuck in outbox with an error
Environment

K-9 Mail version:
5.714
Android version:
10
Account type (IMAP, POP3, WebDAV/Exchange):
Imap
Please take some time to retrieve logs and attach them here:

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 reproducing the reply-all scenario described for K-9 Mail 5.714 on Android 10 with an IMAP account. Trace recipient handling and the send failure from that reproduction; done means duplicate addresses are removed before sending and the message no longer remains stuck in the outbox.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.