Disconnecting from an IMAP server

To disconnect from the server, use the Disconnect method:

/* .. Init client, authenticate .. */   
client.Disconnect();