Table of Contents

Constructor EmailAttachmentDownloadReader

Namespace
MailFathom.Application.Emails.DownloadAttachment
Assembly
MailFathom.Application.dll

EmailAttachmentDownloadReader(IStoredEmailSummaryReader, IEmailContentStore, IEmailAttachmentContentReader, IEmailContentRepairRequestStore, IAttachmentTextExtractor, SensitiveContentEgressScreen, MailboxScopeResolver, AccessAuthorization)

Initializes the use case.

public EmailAttachmentDownloadReader(IStoredEmailSummaryReader summaryReader, IEmailContentStore contentStore, IEmailAttachmentContentReader attachmentContentReader, IEmailContentRepairRequestStore repairRequestStore, IAttachmentTextExtractor attachmentText, SensitiveContentEgressScreen screen, MailboxScopeResolver scopeResolver, 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.

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.

attachmentText IAttachmentTextExtractor

Reads the attachment's text under its own ceilings, or says why it read none.

screen SensitiveContentEgressScreen

Judges that text against what this deployment refuses to let leave.

scopeResolver MailboxScopeResolver

Answers whether a tool may read the mailbox an email was stored from, and whose mail it is.

authorization AccessAuthorization

Answers which principal reached this use case.

Exceptions

ArgumentNullException

Thrown when any argument is null.