Sends a LOGOUT command.
A LOGOUT command ends the current IMAP4 session. In
response to a LOGOUT command, the IMAP4 server is required to send
a BYE response and then close the connection. Therefore, after
calling Logout, you must call Connect again to reconnect to the server
before you can call any methods that send commands.
| Exception Type | Condition |
|---|---|
| Exception | If a network or protocol error occurs. |
Imap4Client Class | Hunny.Mail Namespace | ByeResponse | LOGOUT command in the IMAP4 specification