Expand description
Public API types for parsed and outgoing email messages.
All types are fully owned (String / Vec<u8>) with no lifetime parameters,
per workspace conventions.
§References
- RFC 5322 (Internet Message Format — address, date-time)
- RFC 2045 (MIME — Content-Transfer-Encoding)
- RFC 2183 (Content-Disposition)
- RFC 3501 Section 6.4.5 (IMAP MIME section numbers)
Structs§
- Address
- An email address with optional display name.
- Built
Message - The result of building an email message.
- Date
Time - Date-time with timezone offset preserved.
- Header
Name - A validated RFC 5322 header field name.
- Message
Id - A validated RFC 5322 message-ID (bare, without angle brackets).
- Outgoing
Attachment - An attachment to include in an outgoing email.
- Outgoing
Email - An outgoing email to be built into raw RFC 5322 bytes.
- Parsed
Attachment - Metadata for an attachment found during parsing.
- Parsed
Email - A parsed email message.
- Validation
Error - Error returned when constructing a validated protocol type from an invalid string.
Enums§
- TlsMode
- TLS mode for the initial connection (RFC 8314).