Method Copy
- Namespace
- MailFathom.Domain.Mutations
- Assembly
- MailFathom.Domain.dll
Copy(StoredEmailId, EmailOccurrenceId, MailboxMutationRequester, RemoteFolderPath)
Asks for a second live occurrence of one email to be put into another folder.
public static MailboxMutationRequest Copy(StoredEmailId storedEmailId, EmailOccurrenceId occurrence, MailboxMutationRequester requester, RemoteFolderPath destinationPath)
Parameters
storedEmailIdStoredEmailIdThe local email being copied.
occurrenceEmailOccurrenceIdWhere the email is now.
requesterMailboxMutationRequesterThe authored act asking.
destinationPathRemoteFolderPathThe folder to copy it into.
Returns
- MailboxMutationRequest
The request to write down.
Exceptions
- ArgumentNullException
Thrown when
occurrenceorrequesteris null.