API Reference mailio v#0.2.0
Modules
Protocol adapter behaviour.
Byte-safe ASCII helpers (pure, total).
Credential provider behaviour and facade.
Static credential provider.
Uniform error values.
Live event registry and fan-out.
HTML to plain text extraction (pure, total).
Identifier generation.
IMAP protocol adapter.
IMAP connection FSM (gen_statem).
One session at a time on an IMAP connection. An IMAP connection has one selected mailbox, and a command such as UID STORE acts on whatever is selected when it arrives. A caller that selects a mailbox and then sends its command is safe only if nobody else selects another mailbox between the two. This lock is how callers that share one connection take turns: whoever holds it may select and send as many commands as it needs, the others wait in the order they asked. It is given up when the holder says so, when the holder dies, or when the connection does.
IMAP to JMAP mapping (pure).
Pure IMAP4rev1 protocol codec (no I/O).
MIME tree parser (pure, total).
Low-level MIME decoders (pure, total).
MIME / RFC 5322 rendering (pure, total).
POP3 client (RFC 1939, with CAPA, UIDL, TOP, STLS and the XOAUTH2 SASL mechanism).
Process registry (via-compatible).
RFC 5322 / 2045 header parsing (pure, total).
SMTP submission client (RFC 6409, RFC 5321).