Table of Contents

Constructor LocalMailCopier

Namespace
MailFathom.Application.Mail.Mutations.Local
Assembly
MailFathom.Application.dll

LocalMailCopier(IEmailMetadataRepository, IEmailContentStore, IEmailMimeReader, ILocalMailFolderStore)

Initializes the copier over the stores a copied message is written through.

public LocalMailCopier(IEmailMetadataRepository emails, IEmailContentStore contents, IEmailMimeReader mimeReader, ILocalMailFolderStore folders)

Parameters

emails IEmailMetadataRepository

Writes the copy's own stored message.

contents IEmailContentStore

Reads the copied message's payload, places the copy's, and saves it.

mimeReader IEmailMimeReader

Reads the metadata the copy is searched and threaded by.

folders ILocalMailFolderStore

Files the copy into the local folder it was copied into.

Exceptions

ArgumentNullException

Thrown when a collaborator is null.