Table of Contents

Enum UnreadableSourceReason

Namespace
MailFathom.Application.Discovery.Presentation
Assembly
MailFathom.Application.dll

Says why a source a run found could not be read, so that a silence is never mistaken for an absence.

[JsonConverter(typeof(JsonStringEnumConverter<UnreadableSourceReason>))]
public enum UnreadableSourceReason

Fields

Corrupt = 1

The source does not hold what it declares itself to be, which is ordinary of real mail rather than exceptional.

What malformed document bytes and an unreadable image header record.

Encrypted = 0

The source is protected and this deployment holds no password for it.

What an encrypted document records.

FormatNotRead = 2

Nothing here reads the source's format.

What an unrecognized format, a recognized format nothing parses, an unsupported image format, and a format an operator excluded all record. They differ in whether a later release could read the source and in nothing a reader of an answer can act on.

NoTextFound = 4

The source was read and carried no text, which is what a scan with no text layer is.

The one member that is not a failure. Extraction succeeded and every page yielded nothing, which is a fact about the document rather than about this deployment, and it is the case a reader most often resolves by opening it.

NotAttempted = 5

Nothing offered the source a reader, because this deployment does not read sources of its kind.

What a deployment with image description switched off records against every image it stored.

ReadingFailed = 6

Reading the source was attempted and did not finish, and asking again later may succeed.

What a timeout, an unavailable provider, and a provider that refused all record.

TooLarge = 3

The source is larger than this deployment reads, so it was not read.

What an oversized input, an oversized yield, a container that passed a structural ceiling, an image past the request ceiling, and a declared pixel grid past the decoder ceiling all record.

Remarks

A source that exists, is named on a message, and yielded nothing is a different situation from a mailbox that holds nothing on the subject, and the difference decides what somebody does next. An encrypted contract is opened with a password; a scan is read by a person; a mailbox that holds nothing is a question asked somewhere else. A plan that reported all three as an empty answer would send every one of those readers to the wrong place — and would leave a run answering from a covering note while the contract that contradicts it sits unread.

The members are the granularity a reader acts on rather than the granularity extraction records. Reading an attachment's text and describing an image each publish a longer set of their own — nine reasons apiece, several of them about a provider or a ceiling an operator sets — and a client drawing one of those beside a fact would be drawing this deployment's configuration into somebody's answer. Each member below states which of those it stands for, so the mapping is one decision recorded in one place.