Table of Contents

Property ReadableFolders

Namespace
MailFathom.Application.Emails.Mailboxes
Assembly
MailFathom.Application.dll

ReadableFolders

Gets the only folders a query built from this scope may return anything from, ordered, or empty when none may.

public IReadOnlyList<MailFolderIdentity> ReadableFolders { get; }

Property Value

IReadOnlyList<MailFolderIdentity>

Remarks

It is the opposite kind of value from the two above: those are what a caller asked for, this is what configuration admits whatever the caller asked for. A request that names a folder outside it is therefore answered with nothing from that folder rather than refused, which is the same answer a folder that holds no matching mail gives — a refusal would tell the caller the folder is there.

Empty means no folder is readable, never that every folder is. A mapping is what makes MailFathom have a folder at all, so a scope nothing narrowed is a scope over a deployment that maps nothing, and reading it as an open mailbox would publish the rows of every folder an operator ever removed. MailboxScopeResolver is what fills it, and a scope built any other way reads nothing by construction rather than by convention.