Enum OutgoingRecipientRefusalReason
- Namespace
- MailFathom.Domain.Delivery.Governance
- Assembly
- MailFathom.Domain.dll
States which half of a recipient policy turned a message away.
public enum OutgoingRecipientRefusalReason
Fields
DeniedByPolicy = 0A denied entry names the recipient, which no allowed entry undoes.
Denial is read first and wins outright, because a deployment naming both lists has described the narrower intent twice, and the stricter reading is the one an operator cannot be harmed by.
OutsideAllowedRecipients = 1The policy names who this deployment may write to, and the recipient is not among them.
It is reachable only where an allowed entry was written at all: a policy naming none restricts nobody, so an operator who wrote a denied list alone never meets this refusal.
Remarks
Both are about the deployment rather than about the message, which is what separates them from every other refusal a send meets: no rewriting of the text reaches the address, and the remedy is either to write to somebody else or for an operator to widen what this deployment may write to.