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
writeSessionsIMailboxWriteSessionFactoryOpens the one session able to change a mailbox.
destinationsMailboxDestinationResolverTurns the role a filing names into the folder of the account it means.
contentStoreIEmailContentStoreHolds the stored MIME the copy is appended from.
transportSecurityPoliciesIMailTransportSecurityPolicyReaderSupplies the connection and authentication policy the append obeys.
timeProviderTimeProviderStamps the copy's internal date.
Exceptions
- ArgumentNullException
Thrown when a collaborator is null.