[GH-ISSUE #29] [Bug] Draft persisted after successfully sending an email #30

Closed
opened 2026-03-03 01:19:12 +03:00 by kerem · 3 comments
Owner

Originally created by @Kabouik on GitHub (Feb 3, 2020).
Original GitHub issue: https://github.com/d99kris/nmail/issues/29

Originally assigned to: @d99kris on GitHub.

From issue #25:

The draft was deleted [in nmail] after sending but I got a "Move message failed" error

When checking my emails in another mail client this morning at work, I could see that the draft of the message I sent to you using nmail was still there. I suppose this is what "Move message meant", the email was sent but the draft could not be moved to trash?

Can you reproduce it?

The Trash folder on this account is called "Trash", and main.conf is set with trash=Trash. However I suppose this is probably not where to look, since I believe deleted drafts do not go in the trash folder but are rather permanently deleted.

Originally created by @Kabouik on GitHub (Feb 3, 2020). Original GitHub issue: https://github.com/d99kris/nmail/issues/29 Originally assigned to: @d99kris on GitHub. From issue #25: > The draft was deleted [in nmail] after sending but I got a "Move message failed" error When checking my emails in another mail client this morning at work, I could see that the draft of the message I sent to you using nmail was still there. I suppose this is what "Move message meant", the email was sent but the draft could not be moved to trash? Can you reproduce it? The Trash folder on this account is called "Trash", and `main.conf` is set with `trash=Trash`. However I suppose this is probably not where to look, since I believe deleted drafts do not go in the trash folder but are rather permanently deleted.
kerem closed this issue 2026-03-03 01:19:12 +03:00
Author
Owner

@d99kris commented on GitHub (Feb 4, 2020):

I suppose this is what "Move message meant", the email was sent but the draft could not be moved to trash?

Correct, that is the meaning of this that error when sending a draft.

Can you reproduce it?

I have not seen this during my usage before. I also did a quick test now (using my gmail account) and I was not able to reproduce it. Perhaps you could try to manually delete D some email from INBOX or Draft folder and see if you get the "move message failed" error?

However I suppose this is probably not where to look, since I believe deleted drafts do not go in the trash folder but are rather permanently deleted.

Currently nmail is implemented to move sent drafts to the Trash folder, so you looked in the right place.

<!-- gh-comment-id:581861267 --> @d99kris commented on GitHub (Feb 4, 2020): > I suppose this is what "Move message meant", the email was sent but the draft could not be moved to trash? Correct, that is the meaning of this that error when sending a draft. > Can you reproduce it? I have not seen this during my usage before. I also did a quick test now (using my gmail account) and I was not able to reproduce it. Perhaps you could try to manually delete `D` some email from INBOX or Draft folder and see if you get the "move message failed" error? > However I suppose this is probably not where to look, since I believe deleted drafts do not go in the trash folder but are rather permanently deleted. Currently `nmail` is implemented to move sent drafts to the Trash folder, so you looked in the right place.
Author
Owner

@Kabouik commented on GitHub (Feb 4, 2020):

My bad, totally. Further testing showed that it only happened on one account, and I probably observed it on the phone only since I can only send emails from the phone when using that account. However I reported the bug later from the computer, and checked main.conf on it since both machines are supposed to be synchronizing those files. trash= was correct on it, hence the above statement, but when checking the file on the phone, trash= was just set to a folder that does not exist on the server.

Sorry for the noise.

<!-- gh-comment-id:582174982 --> @Kabouik commented on GitHub (Feb 4, 2020): My bad, totally. Further testing showed that it only happened on one account, and I probably observed it on the phone only since I can only send emails from the phone when using that account. However I reported the bug later from the computer, and checked `main.conf` on it since both machines are supposed to be synchronizing those files. `trash=` was correct on it, hence the above statement, but when checking the file on the phone, `trash=` was just set to a folder that does not exist on the server. Sorry for the noise.
Author
Owner

@d99kris commented on GitHub (Feb 5, 2020):

No worries, thanks for the info!

<!-- gh-comment-id:582336098 --> @d99kris commented on GitHub (Feb 5, 2020): No worries, thanks for the info!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nmail#30
No description provided.