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
sourceReaderIReplyDraftSourceReaderReads the conversation being answered and the manner its account writes in.
writerIReplyDraftWriterWrites the reply, which is the one part of this that reaches a provider.
scopeResolverMailboxScopeResolverDecides which accounts and folders the conversation is read across.
egressGuardSensitiveContentEgressGuardScans what the draft publishes to a client, where this deployment scans anything.
authorizationAccessAuthorizationEnforces the permission this drafting is behind.
languagesIUserLanguagesAnswers which language this deployment writes for a person in, which is the language a draft answering no correspondence comes out in.
derivesStyleFromSentMailboolWhether the deployment derives a manner from the account's own sent mail at all.
Exceptions
- ArgumentNullException
Thrown when any dependency is null.