Enum AttachmentAvailability
- Namespace
- MailFathom.Application.Discovery.Presentation.Blocks
- Assembly
- MailFathom.Application.dll
Whether an attachment a plan found can actually be opened.
[JsonConverter(typeof(JsonStringEnumConverter<AttachmentAvailability>))]
public enum AttachmentAvailability
Fields
NotStored = 1The message is known but its content was never stored, so opening it would mean fetching the message first.
Removed = 2The content is gone and will not come back, which retention or an erasure decided.
Stored = 0The content is held locally and the attachment can be opened now.
Remarks
A gallery that offered every file alike would be offering some a reader cannot have: a message may be known from its metadata while its content was never stored, and retention may have removed content the metadata outlived. Saying which of the three it is turns a failed download into something the screen never offered.