Table of Contents

Enum MailFolderActRefusal

Namespace
MailFathom.Domain.Folders
Assembly
MailFathom.Domain.dll

Why an act on an account's folders was refused, whichever copy of its mailbox is the truth.

public enum MailFolderActRefusal

Fields

AccountMissing = 0

The caller holds no mail account by that identifier.

AccountNotHeld = 1

The account's mailbox is being restored to its source, which is the one phase allowing no act on either side.

The name is older than the rule it now states: it once refused every mirrored account too, and issue 1999 left it naming the restore alone.

FolderMissing = 2

The account has no live folder by that identifier.

FoldersHeldByPolicy = 16

A settings policy holds the account's list of folders against the caller, so no folder is theirs to add to it.

Answered before the account's mail server is asked for anything, because a folder made there could not be declared afterwards and would stand on the server as one the policy never allowed. A person this refuses asks whoever administers the organization or the deployment.

InboxNameAtTopLevel = 6

The name is the inbox's, which no other folder may carry at the top of the hierarchy.

NameInvalid = 5

The name is empty, too long, or carries a control character, a format character, or the hierarchy delimiter.

NameTaken = 7

A sibling already carries the name, compared without regard to case.

NestedInItself = 8

The folder would be moved beneath itself.

NotDeclaredByTheAccount = 14

The folder is declared by the deployment's own configuration rather than by the account's record, so this surface does not change it.

What an operator wrote is theirs. A person whose folder this refuses asks whoever administers the deployment, which is the same answer they get for every other setting an operator fixed.

NotRecorded = 15

The act reached the account's mail server and MailFathom could not record it.

The one refusal that leaves the two sides disagreeing, which is why it is reported rather than retried into silence: the folder is as the person asked for it on the server, and MailFathom goes on describing the folder it knew until the act is asked for again.

ParentMissing = 3

The account has no live folder by the parent identifier named.

ProtectedRole = 4

The folder plays a protected role and cannot be renamed, moved, or deleted.

RoleAlreadyPlayed = 13

The account already has a folder for the role a creation named, and one account has at most one folder per role.

ServerRefused = 11

The mail server answered and refused to carry out the act.

ServerUnavailable = 12

The mail server did not answer within the budget the account's writes are bounded by.

Nothing was changed anywhere: the server is asked before MailFathom's own declaration is written, so an unanswered act leaves both sides as they were.

TooDeep = 9

The act would place a folder deeper than the hierarchy allows.

TooManyFolders = 10

The account already holds as many folders as a hierarchy allows.

Remarks

One enumeration for both storage modes rather than one per mode, because the client surface that publishes these is one surface: a caller branching on a refusal must not have to know which set of names it is reading, and most of the refusals — a name a sibling already carries, a folder playing a protected role, a hierarchy too deep — are the same rule stated against a different store. The members a mail server produces are the tail of the list.