Skip to main content

Module imap

Module imap 

Source
Expand description

IMAP UID sequence-set parsing.

IMAP FETCH and SEARCH commands accept sequence-set strings such as "1:*" or "5:10". This module converts those strings into Rust ranges following RFC 9051 §9.

Functions§

uid_fetch_range
uid_fetch_range_str
Converts a string range from an IMAP UID FETCH command into a range of u32 values.