Table of Contents

Class MailboxDestinationFolderMissingException

Namespace
MailFathom.Application.Mail.Mutations
Assembly
MailFathom.Application.dll

Indicates that the folder a relocation or a copy names as its destination does not exist on the server.

public sealed class MailboxDestinationFolderMissingException : MailboxMutationRefusedException, ISerializable
Inheritance
MailboxDestinationFolderMissingException
Implements
Inherited Members

Remarks

It is raised rather than returned, and it is terminal on its first occurrence, because it says the same thing about repeating the work as MailboxMutationUnsupportedException does: a folder the server does not have will not be there on the next run either. Somebody deleted or renamed it, or whatever asked for the change named a path that was never right, and both remedies are an operator's rather than a wait's. Letting it spend the mutation's attempt bound instead would cost a login and a round trip per attempt to be told the same thing, and would leave the operator reading a change that merely looks busy.

It is separate from MailboxUnavailableException for that reason alone. A mail server that did not answer is expected to answer later; one that answered and said the folder is not there has answered.

The message names the account alias, the folder alias, and the mutation. The destination path is deliberately absent: a remote folder path is the mailbox owner's own naming of their mail, which no message an operator reads may carry.

Constructors

MailboxDestinationFolderMissingException(MailAccountId, MailFolderAlias, MailboxMutation, Exception)

Initializes a new refusal naming the mutation whose destination folder the server does not have.

Properties

AccountId

Gets the account the mutation was requested for.

ErrorCode

Gets the stable code identifying this failure to a boundary that must report it without naming a type.

FolderAlias

Gets the folder the email is in.

Mutation

Gets the mutation that was asked for.