thunderbird / thunderbird/thunderbird-android

K9 Android - Cannot properly parse comma-separated email addresses when pasting list of addresses to TO and/or CC fields.

Open
#2,961 13 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected behavior

Copying a list of comma-separated email addresses from any plaintext editor into the TO and/or CC fields if K9 in Android should result in a properly displayed and parsed list of email addresses like every other normal email client application.

Actual behavior

K9 under Android totally mangles the list except for either the first or last email address. Mangled results range from extra . inserted or , not recognized or a +1 string added BETWEEN email addresses or a K9 error popup with a red exclamation mark stating "Error parsing address".

Steps to reproduce

1.create a list of email addresses you want to send your email to inside a plaintext editor UNDER ANDROID.
For example: email1@test.com, email2@screwedup.com, testing@me.com, screwk9@kshit.com

2.copy and paste the above list into any TO or CC field in K9 under Android.

  1. Tap any other field to leave to TO or CC field you pasted the email list to.

  2. Watch K9 add a +1 between the first and remaining email addresses. Then when you tap on the TO or CC field to try to fix the mangling, K9 mangles it further and in some cases a red exclamation mark comes up saying Error Parsing Address.

Environment

K-9 Mail version: 5.208
Android version: 7.1.1
Account type (IMAP, POP3, WebDAV/Exchange): POP3

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 issue in the Android TO and CC fields using the comma-separated addresses from the report, then inspect the address parsing and recipient-field entry points. Done means pasted comma-separated addresses are displayed and parsed as separate recipients without mangling or an “Error parsing address” message.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.