Constructor AuthoredEmailRefusal
- Namespace
- MailFathom.Application.Mail.Delivery.Composition
- Assembly
- MailFathom.Application.dll
AuthoredEmailRefusal(AuthoredEmailRefusalReason, AuthoredEmailField, long?)
States why a message was not composed, in the terms the author can act on.
public AuthoredEmailRefusal(AuthoredEmailRefusalReason Reason, AuthoredEmailField Field, long? Bound = null)
Parameters
ReasonAuthoredEmailRefusalReasonWhat was wrong.
FieldAuthoredEmailFieldThe part of the authored message it was wrong in.
Boundlong?The number that was exceeded, when the reason is a bound; otherwise null.
Remarks
The three together are the whole of what a refusal may carry. Everything else a composition knows — the address, the subject, the body, the file — is mail content, so a refusal names the field and the limit and nothing that was in it. The bound is the configured or advertised number rather than what the message measured, for the same reason: a measurement of somebody's attachment says how large their file was.