Table of Contents

Constructor SpamActionResult

Namespace
MailFathom.Application.Spam.Actions
Assembly
MailFathom.Application.dll

SpamActionResult(SpamActionOutcome, MailboxMutationRecordId?, MailboxMutationRecordId?)

What one attempt to act on a spam verdict produced.

public SpamActionResult(SpamActionOutcome Outcome, MailboxMutationRecordId? MarkedReadRecordId, MailboxMutationRecordId? FiledRecordId)

Parameters

Outcome SpamActionOutcome

How the attempt ended.

MarkedReadRecordId MailboxMutationRecordId?

The record carrying the \Seen change, or null when none was asked for.

FiledRecordId MailboxMutationRecordId?

The record carrying the relocation, or null when none was asked for.

Remarks

The record identifiers travel back so a caller reporting what a run did can name the changes it started rather than reading them out of the store again, and so a run over a whole mailbox can count them. Neither identifier says the change has happened: a record is opened before the first IMAP command and the account's convergence pass carries it from there.