Constructor EmailContentReader
- Namespace
- MailFathom.Application.Emails.GetEmailContent
- Assembly
- MailFathom.Application.dll
EmailContentReader(IStoredEmailSummaryReader, IEmailContentStore, IEmailContentRenderer, IEmailContentRepairRequestStore, IMailAccountCatalog, EmailContentReadOptions)
Initializes the use case.
public EmailContentReader(IStoredEmailSummaryReader summaryReader, IEmailContentStore contentStore, IEmailContentRenderer renderer, IEmailContentRepairRequestStore repairRequestStore, IMailAccountCatalog accountCatalog, EmailContentReadOptions readOptions)
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 headers, a body, and attachment metadata.
repairRequestStoreIEmailContentRepairRequestStoreRecords durably that a local copy has to be fetched or read again.
accountCatalogIMailAccountCatalogAnswers which accounts this deployment serves.
readOptionsEmailContentReadOptionsThe bounds on how much body text one call returns.
Exceptions
- ArgumentNullException
Thrown when any argument is null.