Table of Contents

Class MailResponseDraftRequest

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

States one answer to a stored email somebody asked this deployment to hold as a draft.

public sealed record MailResponseDraftRequest : IEquatable<MailResponseDraftRequest>
Inheritance
MailResponseDraftRequest
Implements
Inherited Members

Remarks

There is no account here, and no subject, and no thread header, for the reason there is none on the answer that is sent: every one of them is read out of the stored email the answer is anchored to. A caller states which message it is answering and what it wrote, and nothing else.

A revision re-derives all of that from the answered email rather than from what the earlier revision produced, which is what keeps a draft of a reply a reply: the quotation and the threading identifiers are the stored copy's, so an edit cannot silently detach the answer from the conversation it belongs to.

Properties

Act

Gets which answer is being drafted, which decides who it would go to.

AnsweredEmailId

Gets the stored email being answered, named by its stable local identity.

Author

Gets the authored act writing the draft down.

HtmlBody

Gets the HTML alternative the author wrote, or null when they wrote none.

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 would go to.

Revises

Gets the draft this request replaces, or null when it writes a new one.