Table of Contents

Interface IOutgoingSendPermissionReader

Namespace
MailFathom.Application.Mail.Delivery.Governance
Assembly
MailFathom.Application.dll

Answers whether this deployment may send as an account at all, before anything about a message is looked at.

public interface IOutgoingSendPermissionReader

Remarks

It is a reader of its own rather than a value handed to the outbox, because the answer is per account and an account list is reloaded while the process runs: an operator turning sending off reaches the next send rather than the next restart.

What it reports is a capability rather than a grant. Whether the caller may ask is MailSend, which the outbox asks separately and which an operator writes on a credential; this is whether the deployment can send as this mailbox whoever is asking, so work nobody called — a rule, a worker — meets it identically.

Methods

FindRefusal(MailAccountId)

Reports why this deployment may not send as an account.