Closes the connection to the IMAP4 server.
This method closes the connection to the IMAP4 server.
The correct way to end an IMAP4 session is to send a LOGOUT
command, which causes the server to perform any necessary closing
operations and close the connection. Therefore you should almost
always call Logout immediately before
you call Disconnect.
You may safely call this method even if the client is not connected.
Imap4Client Class | Hunny.Mail Namespace | Imap4Client.Logout method