Table of Contents

Constructor ComposedOutgoingEmail

Namespace
MailFathom.Application.Mail.Delivery.Composition
Assembly
MailFathom.Application.dll

ComposedOutgoingEmail(OutgoingEmailRequest, InternetMessageId, ReadOnlyMemory<byte>)

Carries one composed message: what to write down, what to transmit, and the identity it carries.

public ComposedOutgoingEmail(OutgoingEmailRequest Request, InternetMessageId MessageId, ReadOnlyMemory<byte> RawMime)

Parameters

Request OutgoingEmailRequest

The send to record, whose recipients are the envelope the transmission offers.

MessageId InternetMessageId

The identity minted for this message, which every attempt of this send carries.

RawMime ReadOnlyMemory<byte>

The RFC 822 bytes to store and transmit, built once and never rebuilt.

Remarks

The request and the bytes are two views of one composition and are produced together for that reason. Every recipient the request names is named in the MIME as well, except the blind ones — the transmitted headers do not name those, which is what makes them blind, and the envelope offers them exactly as it offers anybody else.

The identity is here rather than only inside the bytes because it is what a reader would otherwise have to parse the message to learn. Nothing above this contract sees a MIME type, so nothing above it can parse the payload.