Enum MailboxDrainFailure
- Namespace
- MailFathom.Application.Synchronization.Drain
- Assembly
- MailFathom.Application.dll
Why one drain batch's commands did not reach the source.
public enum MailboxDrainFailure
Fields
FolderMissing = 2The source no longer holds the folder the batch names.
Synchronization is what resolves it, by rebinding the alias or reporting the folder as gone.
SomethingElse = 3The batch failed for a reason this pass could not classify.
SourceCannotExpungeOneMessage = 1The source advertises no message-scoped expunge, so no batch can ever be served.
Reachable only where the capability changed under an account already held, since it is established before the account moves. Repeating the batch cannot succeed until the source or its server changes.
SourceRefusedTheCredential = 4The source refused the credential the account is reached under.
Told apart from a source that was merely busy because waiting does not clear it: an expired token, a revoked application password, or a credential the server stopped accepting keeps every later run failing the same way until somebody supplies a new one.
The source did not serve the commands within its resilience budget, or the transport failed.
The ordinary one, and the only one the next run is expected to get past on its own.
Remarks
A held account whose source never empties is the one failure here an operator has to diagnose from counts alone, so the count says which kind rather than only how many: a source that will never serve the commands, one that refused the credential, and one that was merely busy are three different things to do about it, and a single figure makes them one. None of these names a message.