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
summaryReaderIStoredEmailSummaryReaderReads one stored email's summary by its identity.
contentStoreIEmailContentStoreReads the raw MIME stored for an email, with what was recorded about it.
rendererIEmailContentRendererTurns stored raw MIME into the headers, body, and attachment descriptions an answer is built from.
attachmentContentReaderIEmailAttachmentContentReaderOpens one attachment of that stored MIME so a forward can carry it.
repairRequestStoreIEmailContentRepairRequestStoreRecords durably that a local copy has to be fetched or read again.
scopeResolverMailboxScopeResolverAnswers whether a tool may read the mailbox the answered email was stored from.
senderIdentitiesIOutgoingSenderIdentityReaderResolves the address the answering account sends from, which is what a reply to all leaves out.
recipientResolverNamedRecipientResolverTurns the people the author added into addresses, asking the contact book for the ones named as somebody.
boundsOutgoingEmailBoundsWhat this deployment is willing to compose, which decides how much history and how many files an answer carries.
authorizationAccessAuthorizationAnswers which principal reached this use case.
Exceptions
- ArgumentNullException
Thrown when any argument is null.