Constructor EmailAttachmentDownloadReader
- Namespace
- MailFathom.Application.Emails.DownloadAttachment
- Assembly
- MailFathom.Application.dll
EmailAttachmentDownloadReader(IStoredEmailSummaryReader, IEmailContentStore, IEmailAttachmentContentReader, IEmailContentRepairRequestStore, MailboxScopeResolver)
Initializes the use case.
public EmailAttachmentDownloadReader(IStoredEmailSummaryReader summaryReader, IEmailContentStore contentStore, IEmailAttachmentContentReader attachmentContentReader, IEmailContentRepairRequestStore repairRequestStore, MailboxScopeResolver scopeResolver)
Parameters
summaryReaderIStoredEmailSummaryReaderReads one stored email's summary by its identity.
contentStoreIEmailContentStoreReads the raw MIME stored for an email, with what was recorded about it.
attachmentContentReaderIEmailAttachmentContentReaderOpens one attachment of that stored MIME by its position.
repairRequestStoreIEmailContentRepairRequestStoreRecords durably that a local copy has to be fetched or read again.
scopeResolverMailboxScopeResolverAnswers whether a tool may read the mailbox an email was stored from.
Exceptions
- ArgumentNullException
Thrown when any argument is null.