Description
When sending a reply over an unstable network connection, a single click on "Send" resulted in the same email being saved 6 times in the Sent folder. It's unclear whether the message was also delivered to the recipient multiple times. This appears to be a retry / idempotency issue when the network is degraded.
Steps to Reproduce
Not reliably reproducible, but the conditions were:
- Install webmail as a PWA on iOS (Safari → webmail.example.com → "Add to Home Screen").
- Open the PWA on a poor/intermittent network connection (traveling abroad, weak signal).
- Open an existing email and click "Reply".
- Compose a reply and click "Send" once.
- Open the Sent folder.
Expected Behavior
A single click on "Send" should result in exactly one message in the Sent folder, regardless of network quality. If the request times out or fails, the client should either retry idempotently (without creating duplicates) or surface an error to the user rather than silently re-sending.
Actual Behavior
The reply appeared 6 times in the Sent folder despite "Send" being clicked only once. No error or duplicate-send warning was shown in the UI.
Bulwark Version
1.7.1
Stalwart Mail Server Version
0.16.6
Browser
Safari
Operating System
iOS
Screenshots / Screen Recording
No response
Relevant Logs or Error Output
Additional Context
No response
Description
When sending a reply over an unstable network connection, a single click on "Send" resulted in the same email being saved 6 times in the Sent folder. It's unclear whether the message was also delivered to the recipient multiple times. This appears to be a retry / idempotency issue when the network is degraded.
Steps to Reproduce
Not reliably reproducible, but the conditions were:
Expected Behavior
A single click on "Send" should result in exactly one message in the Sent folder, regardless of network quality. If the request times out or fails, the client should either retry idempotently (without creating duplicates) or surface an error to the user rather than silently re-sending.
Actual Behavior
The reply appeared 6 times in the Sent folder despite "Send" being clicked only once. No error or duplicate-send warning was shown in the UI.
Bulwark Version
1.7.1
Stalwart Mail Server Version
0.16.6
Browser
Safari
Operating System
iOS
Screenshots / Screen Recording
No response
Relevant Logs or Error Output
Additional Context
No response