Table of Contents

Method SetFlagged

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

SetFlagged(StoredEmailId, EmailOccurrenceId, MailboxMutationRequester, bool)

Asks for the remote \Flagged flag of one email to be set or cleared.

public static MailboxMutationRequest SetFlagged(StoredEmailId storedEmailId, EmailOccurrenceId occurrence, MailboxMutationRequester requester, bool isFlagged)

Parameters

storedEmailId StoredEmailId

The local email being flagged.

occurrence EmailOccurrenceId

Where the email is now.

requester MailboxMutationRequester

The authored act asking.

isFlagged bool

true to flag the email; false to clear the flag.

Returns

MailboxMutationRequest

The request to write down.

Exceptions

ArgumentNullException

Thrown when occurrence or requester is null.