Class EmailPreview
- Namespace
- MailFathom.Application.Emails.Summaries
- Assembly
- MailFathom.Application.dll
The bounded extract of a message's own text that a list row shows under its subject.
public static class EmailPreview
- Inheritance
-
EmailPreview
- Inherited Members
Remarks
A preview is where a listing meets a body, so the bound is the data-minimization control of the whole read: a row shows the opening of a message and never the message. Without it a page of fifty rows would be fifty bodies, which is both a listing nobody asked for and the rule against reading raw MIME in an ordinary mailbox query written the other way round.
The bound is fixed rather than configured and rather than asked for per request. A caller who could raise it could lift the control that decides how much mail one page draws out, and a deployment that lowered it would publish a different contract under the same route — while the useful value follows what a list row can show on a screen, which is not a deployment's decision either.
Fields
- MaximumCharacters
The greatest number of characters one preview carries.
Methods
- Bounded(string?)
Reduces the opening of a message's text to the one line a row draws.