Table of Contents

Constructor MailboxExportHandler

Namespace
MailFathom.Application.Mail.Export
Assembly
MailFathom.Application.dll

MailboxExportHandler(IMailboxExportStore, IMailboxExportReader, IMailboxExportArchiveStore, IEmailContentStore, IMailboxExportAuditor, MailboxExportSettings, TimeProvider)

Initializes the handler.

public MailboxExportHandler(IMailboxExportStore exports, IMailboxExportReader reader, IMailboxExportArchiveStore archives, IEmailContentStore content, IMailboxExportAuditor auditor, MailboxExportSettings settings, TimeProvider timeProvider)

Parameters

exports IMailboxExportStore

Reads the export and records what became of it.

reader IMailboxExportReader

Walks the folders and the messages the archive is written from.

archives IMailboxExportArchiveStore

Opens the write the archive is produced into.

content IEmailContentStore

Reads one stored payload at a time.

auditor IMailboxExportAuditor

Records that the archive was written.

settings MailboxExportSettings

Bounds how large the archive may be and how long it is kept.

timeProvider TimeProvider

Stamps the completion and the retention period.

Exceptions

ArgumentNullException

Thrown when an argument is null.