Expand description
Message bodies, attachments, headers, builders, and outbound validation. Provider-independent message bodies, attachments, headers, and validation.
MessageBuilder constructs both inbound-shaped Message values and
validated OutboundMessage values. Wire-specific MIME encoding remains in
email-message-wire.
Structs§
- Attachment
- A MIME attachment and its presentation metadata.
- Attachment
Reference - An unresolved external attachment body reference.
- Envelope
- SMTP envelope addresses.
- Header
- A single message header line.
- Message
- Parsed message content and headers.
- Message
Builder - Builder for
Message. - Outbound
Message - A
Messagethat has passed outbound delivery validation.
Enums§
- Attachment
Body - Inline bytes or an unresolved external attachment reference.
- Body
- Message body payload.
- Disposition
- How a recipient’s mail client should present an attachment, per RFC 2183.
- Header
Validation Error - Errors returned when constructing a
Header. - Message
Validation Error - Reasons a
MessagefailedMessage::validate_basic(and therefore cannot be promoted into anOutboundMessage).