Class EmailContentReadOptions
- Namespace
- MailFathom.Application.EmailContent
- Assembly
- MailFathom.Application.dll
Bounds what one read of message bodies may return.
public sealed class EmailContentReadOptions
- Inheritance
-
EmailContentReadOptions
- Inherited Members
Remarks
The bound is separate from the one extraction applies to the text it indexes, because the two protect different things. The indexing bound exists so a generated search vector stays writable; these exist so a single response cannot overflow the context of whatever is reading it, and so a body that reaches this system through no limit of its own reaches a reader through one.
Two bounds rather than one, because a call names several emails and the count and the volume are different controls. Without the second, ten emails could each return the first bound in full; without the first, one enormous message could spend a whole call's budget before the second email was reached.
Properties
- MaxBodyCharacters
Gets or sets the greatest number of characters one body representation returns.
- MaxCharactersPerRead
Gets or sets the greatest number of body characters one call returns across every email it names.