Class AuthoredEmailRefusal
- Namespace
- MailFathom.Application.Mail.Delivery.Composition
- Assembly
- MailFathom.Application.dll
States why a message was not composed, in the terms the author can act on.
public sealed record AuthoredEmailRefusal : IEquatable<AuthoredEmailRefusal>
- Inheritance
-
AuthoredEmailRefusal
- Implements
- Inherited Members
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.
Constructors
- AuthoredEmailRefusal(AuthoredEmailRefusalReason, AuthoredEmailField, long?)
States why a message was not composed, in the terms the author can act on.
Properties
- Failure
Gets the published identity of this refusal.
- Field
The part of the authored message it was wrong in.
- Reason
What was wrong.