thunderbird / thunderbird/thunderbird-android
Occasionally getting "error - Unable to send message" on reply
Open
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
K-9 Mail
App version
9.0
Where did you get the app from?
F-Droid
Android version
OxygenOS 15 (Android 15)
Device model
OnePlus 12
Steps to reproduce
- Reply to an e-mail using K-9.
Expected behavior
- Reply to an e-mail using K-9.
- Message gets to Outbox.
- Mail gets delivered successfully
- Message gets transferred to Sent
Actual behavior
- Reply to an e-mail using K-9.
- Message gets to Outbox.
- Mail gets delivered successfully (checked the SMTP logs on the server)
- Message stays in Outbox and doesn't go to Sent, resulting in an error notification (reappearing constantly until I delete it from Outbox).
Logs
05-28 10:50:42.910 29067 29252 I MessagingController: Running command 'sendPendingMessages', seq = 475 (background priority)
05-28 10:50:42.910 29067 29252 E AbstractWindowedCursor_getLongdebug: Error_Msg read row:0columnIndex:3
05-28 10:50:42.911 29067 29252 I MessagingController: Scanning Outbox folder for messages to send
05-28 10:50:42.912 29067 29252 V MessagingController: Skipping sending message K9LOCAL:94a9335d-b83f-41d4-8fc5-5eb3b357296b (reason: error - Unable to send message)
05-28 10:50:42.916 29067 29067 D AppWidgetProvider: ACTION_APPWIDGET_UPDATE, appWidgetIds: [7]
05-28 10:50:42.917 29067 30221 I AppWidgetManager: updateAppWidgetIds, mPackageName: com.fsck.k9, appWidgetIds: [7], views:android.widget.RemoteViews@da4404c
05-28 10:50:42.920 29067 29252 I MessagingController: Command 'sendPendingMessages' completed
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
Start with the attached logs and the MessagingController sendPendingMessages entry point, focusing on the Outbox scan and the logged “Unable to send message” skip. Reproduce the reply flow and trace why a message already delivered by SMTP remains in Outbox; done means it moves to Sent without repeated error notifications.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100