Method Judge
- Namespace
- MailFathom.Domain.Delivery.Governance
- Assembly
- MailFathom.Domain.dll
Judge(EmailAddress)
Judges one recipient of one message.
public OutgoingRecipientRefusalReason? Judge(EmailAddress recipient)
Parameters
recipientEmailAddressThe address the message would be offered to.
Returns
- OutgoingRecipientRefusalReason?
The reason this recipient is refused, or null when the policy admits them.
Remarks
Every recipient of a message is judged, and a message naming one the policy refuses is refused whole rather than delivered to the rest: a message written to four people and sent to three is a message its author never wrote, and nothing downstream could tell the difference afterwards.