Table of Contents

Enum MailboxRestoreFailure

Namespace
MailFathom.Application.Synchronization.Restore
Assembly
MailFathom.Application.dll

Sorts what stopped one message going back onto its source into the kinds an operator acts differently on.

public enum MailboxRestoreFailure

Fields

ContentUnreadable = 3

The stored payload could not be served, so there were no bytes to append.

FolderMissing = 2

The source advertises no folder at the path the message's mapping names, and the mapping permits creating none.

FolderUnresolved = 4

The account has bound no folder under the alias the message goes back through.

KeywordsUnwritable = 6

MailFathom holds a keyword on the message that no authored change may name.

The stored form keeps whatever a server reported, and an authored one has to be an IMAP atom — so a keyword MailFathom observed can be one it may not write back. The message's other state is written down and its keywords are not, which leaves the labels in MailFathom and off the source; correcting the keyword on the message is what an operator does about it.

SomethingElse = 5

Anything else the attempt ended in.

Whether the message is attempted again follows from what the pass recorded rather than from this member: one raised before an APPEND went out leaves the message a candidate, and one raised by a command whose answer never came back leaves a record standing that nothing reissues.

SourceRefusedTheCredential = 1

The mail server refused the credential the account reaches it with.

SourceUnavailable = 0

The mail server did not answer within its configured resilience budget.

Remarks

The counts are the only view of a restoring account's progress, so a source that was away, one that refused the credential, and a message whose payload MailFathom can no longer serve have to be told apart in them. Cancellation is not among them: a pass the host stopped waiting for is a shutdown rather than a failure.