Table of Contents

Method Relocate

Namespace
MailFathom.Domain.Mutations
Assembly
MailFathom.Domain.dll

Relocate(StoredEmailId, EmailOccurrenceId, MailboxMutationRequester, RemoteFolderPath)

Asks for one email to be moved out of its folder and into another.

public static MailboxMutationRequest Relocate(StoredEmailId storedEmailId, EmailOccurrenceId occurrence, MailboxMutationRequester requester, RemoteFolderPath destinationPath)

Parameters

storedEmailId StoredEmailId

The local email being moved.

occurrence EmailOccurrenceId

Where the email is now.

requester MailboxMutationRequester

The authored act asking.

destinationPath RemoteFolderPath

The folder to move it into.

Returns

MailboxMutationRequest

The request to write down.

Exceptions

ArgumentNullException

Thrown when occurrence or requester is null.