News for hackers. Stuff that matters.
Re:Ten Commandments of How to Write an IMAP Client (2006) by billpg on Wednesday October 30, 2019 @11:08AM (#21398546)
I'm an IMAP client and my user has clicked the delete-message button. Accordingly, I've sent a command to make the change and I'm waiting for the response from the server.

Oh no! Before the response came back, my connection to the server died. I don't know if my request arrived and was accepted.

Time passed and I've just now managed to reconnect. I need to know if the delete happened or not.

Re:Ten Commandments of How to Write an IMAP Client (2006) by throw0101a on Thursday October 31, 2019 @09:15AM (#21408327)
Check to see if the \Deleted flag was added to the message.
Re:Ten Commandments of How to Write an IMAP Client (2006) by billpg on Friday November 01, 2019 @11:33AM (#21419878)
Which message? I have a UID that's no longer valid and the message IDs have all moved.