Discuss this help topic in SecureBlackbox Forum
IMAP: Close the connection
After the session is complete it is necessary to properly close the connection. This is done using Close() method.
Silent parameter specifies if the connection must be forceful and without proper logging out from the server (when Silent is set to true) or "Logout" command must be sent to the server (when Silent is set to false).
If the connection has been initiated but has not been successful, you need to call Close() method to ensure that resources allocated for the connection are properly freed.