Table of Contents

Constructor MailRuleActionRecorder

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

MailRuleActionRecorder(MailboxChangeSubmission, IAuthoredDeleteEmailDispositionReader, IMailRuleActionPermissionReader)

Initializes the recorder from the submission it writes through and the decisions it has to read.

public MailRuleActionRecorder(MailboxChangeSubmission submission, IAuthoredDeleteEmailDispositionReader deleteDispositions, IMailRuleActionPermissionReader permissions)

Parameters

submission MailboxChangeSubmission

Records one action, or commits it where the account is held.

deleteDispositions IAuthoredDeleteEmailDispositionReader

Answers what the account keeps locally of an email a rule deletes or files away.

permissions IMailRuleActionPermissionReader

Answers which changes the account currently permits a rule to make.

Exceptions

ArgumentNullException

Thrown when a collaborator is null.