IMAP MOVE fallback

Forwarded from the mailing list:

Within the IMAP implementation of email-lib, moving or deleting a message is done using the UID MOVE command [0][1].

The MOVE command is an extension of the IMAP protocol (see RFC 6851 [2]). The presence of this extension is indicated by the MOVE capability and might not be supported by all mail servers.

If the extension is missing, one may implement a similar effect using a combination of UID COPY, UID STORE and UID EXPUNGE (see RFC 6851, sec. 3.3 [3]). I would like to have your thoughts on implementing such a workaround into email-lib?

I believe this addition would enhance the reliability and compatibility of email-lib across various servers.

Assigned to
2 months ago
2 months ago
No labels applied.