asimap
asimap copied to clipboard
Add MOVE support
Yeah, there is an IMAP MOVE command. It is similar to the COPY, STORE /Deleted, EXPUNGE trio but in a single command.
The semantics are the same as doing the above three commands except:
- We never add the
/Deletedflag to a message. They are just EXPUNGE'd as if they were in theDeletedsequence - need to guarantee folders remain in a consistent state throughout the process.
Conflicting commands: Since we do an implicit expunge, we conflict with non-UID store, search, fetch
(Do we need to re-think our conflict check? Mainly a lot of UID based messages do not conflict?)
RFC6851