Table of Contents

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

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.

attachmentContentReader IEmailAttachmentContentReader

Opens one attachment of that stored MIME by its position.

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 an email was stored from.

Exceptions

ArgumentNullException

Thrown when any argument is null.