Enum MailDocumentRefusal
- Namespace
- MailFathom.Application.EmailContent.Rendering.Document
- Assembly
- MailFathom.Application.dll
Why a message is read as its plain text rather than as a reduced document.
[JsonConverter(typeof(JsonStringEnumConverter<MailDocumentRefusal>))]
public enum MailDocumentRefusal
Fields
NoHtmlPart = 1The message carried no HTML part, so its plain text is the whole of what it wrote.
None = 0Nothing was refused; the document below is the message.
NothingRenderable = 3The body reduced to no block at all, so there is nothing to draw.
ReductionFailed = 2The body could not be reduced, so nothing was built from it.
Remarks
Three things reach the plain-text rendering and they are named apart because a reader is owed the reason rather than a blank pane: a message that never carried HTML is ordinary mail, a body whose reduction failed is a defect worth knowing about, and a body that reduced to nothing renderable is a message whose markup carried no content at all.
A node whose revision this build does not implement is not among them. That one costs the reader the node rather than the message, so it never reaches this enumeration.