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
storedEmailIdStoredEmailIdThe local email being moved.
occurrenceEmailOccurrenceIdWhere the email is now.
requesterMailboxMutationRequesterThe authored act asking.
destinationPathRemoteFolderPathThe folder to move it into.
Returns
- MailboxMutationRequest
The request to write down.
Exceptions
- ArgumentNullException
Thrown when
occurrenceorrequesteris null.