Table of Contents

Enum EmailContentKind

Namespace
MailFathom.Application.EmailContent.Storage
Assembly
MailFathom.Application.dll

Names which of the five things a stored payload is — four kinds of raw MIME and a file a user supplied — so a placement can say what it placed.

public enum EmailContentKind

Fields

IncomingMessage = 0

A synchronized message, stored idempotently against the local row that mirrors an occurrence.

MailDraft = 3

One revision of a mail draft, which is the one payload kind a later write replaces.

OutgoingMessage = 1

The message one outgoing record will be transmitted as, written once so a retry transmits the same bytes.

RecurringSendDraft = 2

The draft every occurrence of one recurring send is composed from, written once beside the declaration.

StoredFile = 4

A binary file a user supplied, which a record links to rather than holds, such as the portrait.

Not MIME, and placed through the same port so it follows the same backend and the same move.

Remarks

Each of the five has its own owning row, its own write semantics, and — under the object backend — its own group of keys. A placement happens before the owning row exists, so this is the only thing the store knows about a payload at that moment, and it is what lets one placement method serve all five rather than five near-identical ones differing by a single segment. Only StoredFile is not MIME, and nothing in the placement reads the octets.

It reaches an object key as a segment, which is a readability and grouping property rather than a durable identity: a row carries the whole key the adapter produced and no reader ever derives one, so renaming a member changes what future keys look like and leaves every stored payload readable.