Skip to main content

Module address

Module address 

Source

Structs§

AddressList
A parsed list of address items.
Group
A named address group containing mailbox members.
Mailbox
A mailbox address with optional display name.
MailboxList
A parsed list of mailbox items.

Enums§

Address
A single address item: either a mailbox or a group.
AddressBackendError
AddressParseError
GroupParseError
MailboxParseError

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.