Class EmailMimeExtractionOptions
- Namespace
- MailFathom.Application.Emails.Extraction
- Assembly
- MailFathom.Application.dll
Bounds the structure a message may declare, and the text it may contribute, before extraction abandons it.
public sealed class EmailMimeExtractionOptions
- Inheritance
-
EmailMimeExtractionOptions
- Inherited Members
Remarks
A size limit alone does not bound the work: a message far below the raw MIME limit can declare tens of thousands of parts or nest multiparts hundreds deep, which is an inexpensive way to consume disproportionate CPU and allocations. Both structural limits are enforced while the message is being read, so an over-limit message is abandoned before an object tree exists for it.
Properties
- MaxExtractedTextCharacters
Gets or sets the greatest number of characters one message's body contributes to the extracted text.
- MaxNestingDepth
Gets or sets the greatest depth to which one message may nest multiparts and embedded messages.
- MaxPartCount
Gets or sets the greatest number of MIME entities one message may declare.