Table of Contents

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 = 1

The 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 = 0

The representation is the whole of what the message displayed.

ReadCharacterBudget = 2

The 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.

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.