thunderbird / thunderbird/thunderbird-android
mail sent from identity without display name gets displayname 'null' for messages saved as draft
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 14k
- Forks
- 2.8k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 57
Description
Checklist
- I have used the search function to see if someone else has already submitted the same bug report.
- I will describe the problem with as much detail as possible.
App version
6.602 as well as 6.707
Where did you get the app from?
F-Droid
Android version
11 (LineageOS 18.1)
Device model
Samsung GT-I9301I
Steps to reproduce
- Create an Identity with your email address as sender and leave the "Your Name" field empty.
- Compose a new Email (to yourself), select the identity just created and save this message as draft.
- Re-Open this draft from the drafts folder and send it.
Expected behavior
The email is sent with From: myaddress@example.com in its headers.
Actual behavior
The From header of the sent mail is set to From: null <myaddress@example.com>.
Side-note: This malfunction even causes some mail providers' spam filters to increase the spam score for such mails (observed for Posteo).
Logs
Uploaded log file (captured via adb) here: k-9-log.txt
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by creating an identity without a name, saving a draft, reopening it, and sending it. Trace the draft reopen and send flow to find where the From header is assembled; done means the sent header contains only the email address when no display name was provided.
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
- 48/100