Table of Contents

Constructor OutgoingMailFiler

Namespace
MailFathom.Application.Mail.Delivery.Filing
Assembly
MailFathom.Application.dll

OutgoingMailFiler(MailboxCopyAppender, IMailboxWriteSessionFactory, MailboxDestinationResolver, IOutgoingMailFilingStore, IMailTransportSecurityPolicyReader, OptimisticConcurrencyRetryPolicy, TimeProvider)

Initializes the filer from the append it files through and the record it writes the copy onto.

public OutgoingMailFiler(MailboxCopyAppender appends, IMailboxWriteSessionFactory writeSessions, MailboxDestinationResolver destinations, IOutgoingMailFilingStore filings, IMailTransportSecurityPolicyReader transportSecurityPolicies, OptimisticConcurrencyRetryPolicy commitPolicy, TimeProvider timeProvider)

Parameters

appends MailboxCopyAppender

Puts the copy into the folder the filing names, in the order that keeps it one copy.

writeSessions IMailboxWriteSessionFactory

Opens the one session able to change a mailbox, which a withdrawal needs of its own.

destinations MailboxDestinationResolver

Turns the role a filing names into the folder of this account it means.

filings IOutgoingMailFilingStore

Keeps the durable account of every copy that has been filed.

transportSecurityPolicies IMailTransportSecurityPolicyReader

Supplies the connection and authentication policy the commands obey.

commitPolicy OptimisticConcurrencyRetryPolicy

Commits each movement of the filing row.

timeProvider TimeProvider

Stamps everything the row records.

Exceptions

ArgumentNullException

Thrown when a collaborator is null.