Property BeforeAnyServerHasSpoken
- Namespace
- MailFathom.Application.Mail.Delivery
- Assembly
- MailFathom.Application.dll
BeforeAnyServerHasSpoken
What a message is composed against when it is written down long before a server is opened to carry it.
public static MailDeliveryCapabilities BeforeAnyServerHasSpoken { get; }
Property Value
Remarks
A send is recorded by one act and transmitted by another, so the message exists before any submission server has been asked anything. This is what the composition is held to in that gap, and each of the three values is the answer that stays correct whatever the server turns out to say.
No size is declared, because the deployment's own bound is checked at composition regardless and the server's is checked against the stored length before the message is offered — so assuming a number here would refuse a message a server would have taken without protecting one it would not.
Eight-bit content is not assumed, so the message is transfer-encoded to seven bits. That is accepted by every submission server, including the ones that would have taken it unencoded, and costs a fraction of the size; composing eight-bit and meeting a server that takes none would be a message that can never be delivered.
Internationalized addresses are not assumed either, and that one is a refusal rather than a cost: an address outside ASCII is refused while the caller is still there to be told, instead of being queued and failing against the server hours later with nobody to answer for it.