Table of Contents

Constructor StoredEmailResponseAuthoring

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

StoredEmailResponseAuthoring(IStoredEmailSummaryReader, IEmailContentStore, IEmailContentRenderer, IEmailAttachmentContentReader, IEmailContentRepairRequestStore, MailboxScopeResolver, IOutgoingSenderIdentityReader, NamedRecipientResolver, OutgoingEmailBounds, AccessAuthorization)

Initializes the use case.

public StoredEmailResponseAuthoring(IStoredEmailSummaryReader summaryReader, IEmailContentStore contentStore, IEmailContentRenderer renderer, IEmailAttachmentContentReader attachmentContentReader, IEmailContentRepairRequestStore repairRequestStore, MailboxScopeResolver scopeResolver, IOutgoingSenderIdentityReader senderIdentities, NamedRecipientResolver recipientResolver, OutgoingEmailBounds bounds, AccessAuthorization authorization)

Parameters

summaryReader IStoredEmailSummaryReader

Reads one stored email's summary by its identity.

contentStore IEmailContentStore

Reads the raw MIME stored for an email, with what was recorded about it.

renderer IEmailContentRenderer

Turns stored raw MIME into the headers, body, and attachment descriptions an answer is built from.

attachmentContentReader IEmailAttachmentContentReader

Opens one attachment of that stored MIME so a forward can carry it.

repairRequestStore IEmailContentRepairRequestStore

Records durably that a local copy has to be fetched or read again.

scopeResolver MailboxScopeResolver

Answers whether a tool may read the mailbox the answered email was stored from.

senderIdentities IOutgoingSenderIdentityReader

Resolves the address the answering account sends from, which is what a reply to all leaves out.

recipientResolver NamedRecipientResolver

Turns the people the author added into addresses, asking the contact book for the ones named as somebody.

bounds OutgoingEmailBounds

What this deployment is willing to compose, which decides how much history and how many files an answer carries.

authorization AccessAuthorization

Answers which principal reached this use case.

Exceptions

ArgumentNullException

Thrown when any argument is null.