Table of Contents

Enum EmailContentRenderingOutcome

Namespace
MailFathom.Application.EmailContent.Rendering
Assembly
MailFathom.Application.dll

States whether stored MIME could be rendered for a reader.

public enum EmailContentRenderingOutcome

Fields

Rendered = 0

The message was parsed and its rendering is present.

Unreadable = 1

Nothing a reader could be shown came out of the stored bytes.

The reasons a parse gives up — bytes that are not a MIME message, more parts than the configured limit, deeper nesting than it allows — are one outcome here rather than three, because this read acts identically on all of them: the local copy is unusable, the caller is told so with one stable code, and repair is requested. The distinction is still made where it changes a decision, in the extraction path that has to record why a message contributes nothing to search.