Enum EmailBodyTruncation
- Namespace
- MailFathom.Application.EmailContent.Rendering
- Assembly
- MailFathom.Application.dll
Names which bound cut a body representation short, or states that none did.
public enum EmailBodyTruncation
Fields
BodyCharacterLimit = 1The per-representation bound cut it, so this message alone is longer than one read returns.
Reading the same message again returns exactly the same prefix; what is missing is beyond what any single call publishes.
None = 0The representation is the whole of what the message displayed.
ReadCharacterBudget = 2The read's total character budget cut it, because earlier emails in the same call had already spent it.
Naming this email in a call of its own returns more of it, which is the action the state exists to make visible.
SensitiveContentScanCeiling = 3The sensitive-content scan's analyzed ceiling cut it, because text nothing scanned is text this deployment does not hand out.
The only one of the three a caller cannot act on by asking differently: the remainder is withheld for every call and every client until an operator raises
SensitiveContent:MaximumAnalyzedCharacters, which is the whole reason it is named apart from the two bounds that describe how much was asked for.
Remarks
A caller that reads several emails in one call has two limits between it and a whole message, and they mean different things: one is a property of the message it asked about, the other a property of how much it asked for at once. A single flag would report both as "incomplete" and leave the caller with no way to tell a message worth reading alone from a batch worth splitting.