feat: IMAP COMPRESS support

This commit is contained in:
link2xt
2024-09-23 01:16:53 +00:00
parent 796b0d7752
commit f1ca689f99
6 changed files with 49 additions and 17 deletions

View File

@@ -25,6 +25,10 @@ pub(crate) struct Capabilities {
/// <https://tools.ietf.org/html/rfc5464>
pub can_metadata: bool,
/// True if the server has COMPRESS=DEFLATE capability as defined in
/// <https://tools.ietf.org/html/rfc4978>
pub can_compress: bool,
/// True if the server supports XDELTAPUSH capability.
/// This capability means setting /private/devicetoken IMAP METADATA
/// on the INBOX results in new mail notifications