Enum ExtractedEmailTextSource
- Namespace
- MailFathom.Application.Emails.Extraction
- Assembly
- MailFathom.Application.dll
States which part of a message the searchable text came from, or why the message yielded none.
public enum ExtractedEmailTextSource
Fields
BodyNotExtracted = 4Extraction never ran for this message, so its body has contributed nothing either way.
This is the state of a message whose raw MIME was never stored because it exceeded the size limit, and of one whose stored MIME no reader could parse. It is never the source of an ExtractedEmailText, which only ever describes a message something did read; it exists so such a message is still indexed on what its envelope reported instead of being findable by nothing at all.
DerivedFromHtmlBodyPart = 1The text was derived from an HTML body because the message offered no plain-text alternative, which is lossy.
EncryptedBody = 3The body arrived inside a cryptographic envelope, so no text could be read from it here.
NoTextualBodyPart = 2The message carried no readable textual body at all.
PlainTextBodyPart = 0The text is what a genuine
text/plainbody part carried, so nothing was inferred from markup.
Remarks
The absent cases stay distinct because they answer different questions about a message that returns no search hit on its body. A message nobody encrypted and that genuinely carried no words is a complete record; an encrypted one is a body that exists and cannot be read here, and merging the two would turn a known gap into a silent one.