Table of Contents

Constructor MailReplyDrafting

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

MailReplyDrafting(IReplyDraftSourceReader, IReplyDraftWriter, MailboxScopeResolver, SensitiveContentEgressGuard, AccessAuthorization, IUserLanguages, bool)

Initializes the drafting.

public MailReplyDrafting(IReplyDraftSourceReader sourceReader, IReplyDraftWriter writer, MailboxScopeResolver scopeResolver, SensitiveContentEgressGuard egressGuard, AccessAuthorization authorization, IUserLanguages languages, bool derivesStyleFromSentMail)

Parameters

sourceReader IReplyDraftSourceReader

Reads the conversation being answered and the manner its account writes in.

writer IReplyDraftWriter

Writes the reply, which is the one part of this that reaches a provider.

scopeResolver MailboxScopeResolver

Decides which accounts and folders the conversation is read across.

egressGuard SensitiveContentEgressGuard

Scans what the draft publishes to a client, where this deployment scans anything.

authorization AccessAuthorization

Enforces the permission this drafting is behind.

languages IUserLanguages

Answers which language this deployment writes for a person in, which is the language a draft answering no correspondence comes out in.

derivesStyleFromSentMail bool

Whether the deployment derives a manner from the account's own sent mail at all.

Exceptions

ArgumentNullException

Thrown when any dependency is null.