Created attachment 361262 [details] [diff] [review] The fix Steps to repeat: 1) Set up an smtp failure such that the server is missing. 2) Write a message, select to send later. 3) Select Send Unsent Messages 4) Acknowledge failure 5) Try to select Send Unsent Messages => You can't. The problem is that the failure route doesn't call StartNextMailFileSend, which is related to bug 151364. However, whenever we stop sending unsent mail, we should make sure we clear the mSendingProgress flag. I noticed a couple of instances where if StartNextMailFileSend fails, NotifyListenersOnStopSending is called, so it seems the correct thing to do is to reset mSendingProgress in the NotifyListenersOnStopSending function. Patch attached with test case.
Comment on attachment 361262 [details] [diff] [review] The fix + // Ensure we have a local mail account, an normal account and appropriate + // servers and identities. should be "a normal account"
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.