Structs§
- Address
List - A parsed list of address items.
- Group
- A named address group containing mailbox members.
- Mailbox
- A mailbox address with optional display name.
- Mailbox
List - A parsed list of mailbox items.
Enums§
- Address
- A single address item: either a mailbox or a group.
- Address
Backend Error - Address
Parse Error - Group
Parse Error - Mailbox
Parse Error
Constants§
- MAX_
ADDRESS_ INPUT_ BYTES - Maximum byte length accepted by the address-list parser before
rejecting outright. 64 KiB is far above any realistic header value
, RFC 5322 caps physical lines at 998 bytes; even a header folded
across hundreds of continuation lines stays well under this. The
cap exists to prevent the
format!("To: {input}\r\n\r\n")allocation amplification on adversarial multi-megabyte input.