DisconnectReason enumeration
Collapse the table of content
Expand the table of content

DisconnectReason enumeration

The DisconnectReason enumeration indicates why the OnDisconnect event fired.

Namespace:  Microsoft.Exchange.Data.Transport.Smtp
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

public enum DisconnectReason

Member nameDescription
QuitVerbThe sender sent the QUIT verb.
TimeoutThe connection to the sender timed out.
SenderDisconnectedThe connection to the sender was lost.
TooManyErrorsToo many protocol or authentication errors occurred.
DroppedSessionThis server or one of its agents requested that the session be disconnected.
RemoteThe remote connector initiated the disconnect.
LocalThe disconnect was initiated locally.
SuppressLoggingSpecifies that the session won't have further logging.
© 2015 Microsoft