Class OutgoingEmailBounds
- Namespace
- MailFathom.Application.Mail.Delivery.Composition
- Assembly
- MailFathom.Application.dll
States how large a message this deployment is willing to compose.
public sealed record OutgoingEmailBounds : IEquatable<OutgoingEmailBounds>
- Inheritance
-
OutgoingEmailBounds
- Implements
- Inherited Members
Remarks
Every one of these is the operator's number rather than whatever an author happened to pass, and each is checked before any of the message is built. A bound discovered at the submission server is a whole transmission spent to be told no, and a bound discovered nowhere at all is a deployment that will compose whatever it is handed.
The submission server's own advertised size is a second bound rather than a replacement for this one. A server that advertises none still has whatever the deployment decided, and a server that advertises a smaller number than the deployment configured is the one that decides — so both are checked and the message must satisfy each.
Properties
- MaxAttachmentBytes
Gets the greatest number of octets one attached file may be made of.
- MaxAttachmentCount
Gets the greatest number of files one message may attach.
- MaxBodyCharacters
Gets the greatest number of characters either body may carry.
- MaxMessageBytes
Gets the greatest number of octets the composed message may be transmitted as.
- MaxRecipientCount
Gets the greatest number of people one message may be addressed to.