Logs an authenticated client out of the server. After the logout sequence has been completed,
the server closes the connection with the client.
Namespace: S22.ImapAssembly: S22.Imap (in S22.Imap.dll) Version: 3.6.0.0 (3.6.0.0)
Syntax
C# |
---|
void Logout() |
Remarks
Calling this method in non-authenticated state has no effect.
Exceptions
Exception | Condition |
---|---|
S22.Imap..::..BadServerResponseException | An unexpected response has been received from the server during the logout sequence. |
System.IO..::..IOException | There was a failure writing to or reading from the network. |
System..::..ObjectDisposedException | The ImapClient object has been disposed. |