Class MailTransmissionRequest
- Namespace
- MailFathom.Application.Mail.Delivery.Transmission
- Assembly
- MailFathom.Application.dll
States one submission: who it is from, who is still owed it, and the bytes to transmit.
public sealed record MailTransmissionRequest : IEquatable<MailTransmissionRequest>
- Inheritance
-
MailTransmissionRequest
- Implements
- Inherited Members
Remarks
The recipients are the ones a later attempt still offers rather than everybody the message names, which is what makes a partial acceptance recoverable: an address the server already took is absent here, so the person behind it does not receive the message twice.
The MIME is the stored bytes and is never recomposed for an attempt. A Message-ID that changed between two
attempts would thread as a second message in every recipient's client, so the message a retry transmits is the one
the first attempt may already have begun transmitting.
Properties
- OutgoingEmailId
Gets the record this submission belongs to.
- RawMime
Gets the composed RFC 822 bytes to transmit.
- Recipients
Gets the people this attempt offers the message to.
- Sender
Gets the address the envelope names as the reverse path.
Methods
- Create(OutgoingEmailId, EmailAddress, IReadOnlyList<OutgoingRecipient>, ReadOnlyMemory<byte>)
States a submission to make.
- ToString()
Describes the submission by its size, and never by the people it is between.