Skip to main content

parse_config

Function parse_config 

Source
pub(crate) fn parse_config(
    xml: &str,
    address: &str,
    by: FoundBy,
) -> Option<Found>
Expand description

Reads the IMAP servers of a config-v1.1.xml file; TLS from the first byte is preferred to STARTTLS (RFC 8314 §3), and plain connections are ignored.