apple / swift-nio-imap

A Swift project that provides an implementation of the IMAP4rev1 protocol, built upon SwiftNIO.
Apache License 2.0
97 stars 13 forks source link

Add support for MESSAGELIMIT Extension #760

Closed danieleggert closed 2 months ago

danieleggert commented 3 months ago

Add support for MESSAGELIMIT Extension.

Motivation:

Some use of RFC 9394 (aka. PARTIAL) to some extent relies on the server being able to announce a limit on the number of messages that can be processed in a single command. That is what

https://www.ietf.org/archive/id/draft-ietf-extra-imap-messagelimit-08.html

is about.

Modifications:

Add the MESSAGELIMIT Extension by adding support for

Additionally, this PR cleans up / simplifies the LastCommandSet such that the protocol IMAPEncodable is no longer needed.