Table of Contents

Class ReplyDraftSources

Namespace
MailFathom.Application.Emails.ReplyDrafts
Assembly
MailFathom.Application.dll

Everything one drafting is written from: the correspondence it answers, who is in it, and how its author writes.

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

Remarks

Deliberately narrow, exactly as a conversation's own derivation is. What a draft is written from is what the people in the exchange said and how this person writes; no folder, no account, and no mailbox is part of either, and every one of them would be somebody's data sent to a provider for nothing the reply would gain.

The participants carry an address and the messages do not, and the difference is load-bearing: an address never travels to a provider, and a proposed recipient is answered as a position in this list rather than as text a model wrote. That is what makes it impossible for a drafting to address a reply to somebody the conversation never named.

Constructors

ReplyDraftSources(string?, IReadOnlyList<ReplyDraftMessage>, IReadOnlyList<ReplyDraftParticipant>, IReadOnlyList<string>)

Everything one drafting is written from: the correspondence it answers, who is in it, and how its author writes.

Properties

Messages

The conversation's most recent messages in its own order, which is what the draft is grounded in and cites.

Nothing

What a message answering no correspondence is written from, which is nothing this deployment holds.

Participants

The people the conversation names, which is the whole set a proposed recipient may come from.

StyleSamples

What the person themselves has recently sent, which the draft's manner is derived from, and which is empty where a deployment derives no style.

Subject

The subject the conversation is read under, or null where no message carried one.