Class MailRecipientReply
- Namespace
- MailFathom.Application.Mail.Delivery.Transmission
- Assembly
- MailFathom.Application.dll
Reports what a submission server answered about one address the envelope offered.
public sealed record MailRecipientReply : IEquatable<MailRecipientReply>
- Inheritance
-
MailRecipientReply
- Implements
- Inherited Members
Remarks
A message is offered per address and answered per address, so this is the grain the answer arrives at and the grain the durable record keeps it at. A mistyped address among five must not stop the other four, and the four the server took must not be offered the message again when the fifth is retried.
The reply code travels and the reply text does not. The text is written by the remote server, routinely names the recipient it is about, and would put an address into the first log line an operator reads about a failure; the three digits are what tells a mailbox that does not exist from one that is over quota.
Constructors
- MailRecipientReply(EmailAddress, int, MailRecipientAcceptance)
Reports what a submission server answered about one address the envelope offered.
Properties
- Acceptance
What that answer means for this recipient.
- Address
The address the server answered about.
- IsAccepted
Gets whether the transmission that follows carries the message to this address.
- ReplyCode
The three-digit reply code it answered with.
Methods
- ToString()
Describes the reply by its code and its meaning, and never by the address it is about.