ProtocolErrorType Enumeration

The type of error that caused a ProtocolException.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public enum ProtocolErrorType

Remarks

The type of error that caused a ProtocolException.

Members

Unknown 0 The type of protocol error is unknown.
UnexpectedDisconnect 1 The server unexpectedly closed the connection.
InvalidResponse 2 The server sent a response that could not be parsed or was not expected.
ServerDisconnected 3 The server explicitly terminated the connection (e.g. an IMAP BYE response).
ResponseTooLarge 4 The server sent a response that exceeded the maximum allowed size.

See Also

Reference