Table of Contents

Method FoldersOf

Namespace
MailFathom.Application.Folders
Assembly
MailFathom.Application.dll

FoldersOf(MailAccountId)

Gets every folder configuration maps for an account.

IReadOnlyList<MailFolderMapping> FoldersOf(MailAccountId accountId)

Parameters

accountId MailAccountId

The account the folders belong to.

Returns

IReadOnlyList<MailFolderMapping>

The account's mappings, empty where configuration maps none or names no such account.

Remarks

Asked by a reader publishing what an account can do rather than what it currently holds. The two lookups above answer about one folder somebody already has a name for; this answers the question a client has instead — which folders exist to file into at all — and it is the mappings rather than local state because a folder MailFathom does not mirror is still a folder it files into.