Class MailboxAnswerIncompleteException
- Namespace
- MailFathom.Application.Synchronization.Sessions
- Assembly
- MailFathom.Application.dll
Indicates that a mail server answered for an email without the data items the command asked for.
public sealed class MailboxAnswerIncompleteException : MailFathomException, ISerializable
- Inheritance
-
MailboxAnswerIncompleteException
- Implements
- Inherited Members
Remarks
IMAP requires a server to return every data item a FETCH named, so an answer that omits one is a protocol
violation rather than a state a caller can interpret. It is raised instead of interpreted because the interpretation
would be destructive: reconciliation reads the absence of an answer as an email the folder no longer holds, so an
answer that is present but incomplete must never be allowed to degrade into that silence.
It is distinct from MailboxUnavailableException, which says the server did not answer at all within its budget. Here the server answered and the answer cannot be trusted, so the run ends and no local state is derived from it; the folder's next run asks again.
Constructors
- MailboxAnswerIncompleteException(MailAccountId, MailFolderAlias, string)
Initializes a new incomplete-answer failure naming the account, the folder alias, and the missing item.
Properties
- AccountId
Gets the account whose mail server answered incompletely.
- ErrorCode
Gets the stable code identifying this failure to a boundary that must report it without naming a type.
- FolderAlias
Gets the folder the stopped operation was working on.
- MissingDataItem
Gets the requested data item the answer omitted.