Class MailResponseSubmissionRequest
- Namespace
- MailFathom.Application.Mail.Delivery.Submission
- Assembly
- MailFathom.Application.dll
States one answer to a stored email somebody asked this deployment to send.
public sealed record MailResponseSubmissionRequest : IEquatable<MailResponseSubmissionRequest>
- Inheritance
-
MailResponseSubmissionRequest
- Implements
- Inherited Members
Remarks
There is no account here, and no subject, and no thread header. Every one of them is read out of the stored email the answer is anchored to: the account is the one that email was stored from, the subject is the original's with the conventional prefix, and the identifiers the answer threads by are the original's own. A caller states which message it is answering and what it wrote, and nothing else — which is what keeps a reply from being a message a caller happened to address the same way.
It is the sibling of MailSubmissionRequest rather than a variant of it. The two share the requester and the bodies and agree on nothing else, because a message answering nothing names everybody it goes to and an answer derives most of them; folding the two into one type would give every field of each a meaning that depended on the act.
Properties
- Act
Gets which answer is being sent, which decides who receives it.
- AnsweredEmailId
Gets the stored email being answered, named by its stable local identity.
- PlainTextBody
Gets the plain-text the author wrote, which is placed above the quoted original.
- Recipients
Gets the people the author named themselves, which is everybody a forward goes to.
- Requester
Gets the authored act asking, which is what makes the same submission twice one delivery.