messages with misspelled email addresses are stuck in outbox and cannot be sent again
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Create a new message
- Write a message and, for the recipient use a nonexisting email address like "test"
- Send the message
- After you get the notification that the message cannot be sent, go to the outbox and replace the email address with a working one
- Send the message again
Expected behavior
Sending process should work.
Actual behavior
Sending process fails with the protocol entry: "Could not send message because a previous send operation produced an unclear sent state."
Mail app version
5.0.7
Nextcloud version
31.0.5
Mailserver or service
all
Operating system
Ubuntu 22.04
PHP engine version
PHP 8.3
Nextcloud memory caching
No response
Web server
Apache (supported)
Database
MariaDB
Additional info
This is a very common scenario since it's rather easy to misspell an address. The only way to correct that is to copy the content from the old message, delete it from outbox, recreate it, and paste the content.
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 by reproducing the failed send, then trace the outbox retry flow and the handling of the protocol entry "Could not send message because a previous send operation produced an unclear sent state." Done means correcting the recipient in an outbox message allows it to be sent successfully without recreating the message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100