Table of Contents

Method SetSeen

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

SetSeen(StoredEmailId, EmailOccurrenceId, MailboxMutationRequester, bool)

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

public static MailboxMutationRequest SetSeen(StoredEmailId storedEmailId, EmailOccurrenceId occurrence, MailboxMutationRequester requester, bool isSeen)

Parameters

storedEmailId StoredEmailId

The local email being flagged.

occurrence EmailOccurrenceId

Where the email is now.

requester MailboxMutationRequester

The authored act asking.

isSeen bool

true to mark the email read; false to mark it unread.

Returns

MailboxMutationRequest

The request to write down.

Exceptions

ArgumentNullException

Thrown when occurrence or requester is null.