Table of Contents

Constructor MailRuleActionFailure

Namespace
MailFathom.Application.Rules.Actions
Assembly
MailFathom.Application.dll

MailRuleActionFailure(string, int, MailboxMutation, MailRuleActionFailureReason, MailFolderReference?)

One action a rule asked for and nothing was recorded against, with the reason nothing was.

public MailRuleActionFailure(string RuleName, int Position, MailboxMutation Mutation, MailRuleActionFailureReason Reason, MailFolderReference? Destination = null)

Parameters

RuleName string

The rule that asked, which is MailFathom's own configured name for it.

Position int

Where the action sits in the order its own rule declares its changes, counted from zero.

Mutation MailboxMutation

The change it asked for, which is the same word a log line and a counter use.

Reason MailRuleActionFailureReason

Why the request could not be written.

Destination MailFolderReference?

How the action named its folder, and null for an action naming none.

Remarks

It names identities and a mutation name only. A rule name, a folder alias, and a special-use role are all MailFathom's own configured names, which is what lets a failure be reported without saying which message it was about. The position is what attributes the refusal to one of a rule's declared changes rather than to the rule as a whole. The destination is carried as the reference the rule wrote rather than as the folder it resolved to, because the failure it usually accompanies is the resolution itself not having an answer.