Table of Contents

Constructor MailboxCopyAppender

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

MailboxCopyAppender(IMailboxWriteSessionFactory, MailboxDestinationResolver, IEmailContentStore, IMailTransportSecurityPolicyReader, TimeProvider)

Initializes the appender from the session it appends through and the store it reads the message from.

public MailboxCopyAppender(IMailboxWriteSessionFactory writeSessions, MailboxDestinationResolver destinations, IEmailContentStore contentStore, IMailTransportSecurityPolicyReader transportSecurityPolicies, TimeProvider timeProvider)

Parameters

writeSessions IMailboxWriteSessionFactory

Opens the one session able to change a mailbox.

destinations MailboxDestinationResolver

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

contentStore IEmailContentStore

Holds the stored MIME the copy is appended from.

transportSecurityPolicies IMailTransportSecurityPolicyReader

Supplies the connection and authentication policy the append obeys.

timeProvider TimeProvider

Stamps the copy's internal date.

Exceptions

ArgumentNullException

Thrown when a collaborator is null.