Disconnect Method
Disconnects from the mail server.
Syntax
procedure Disconnect();Remarks
This method makes the component disconnect from the MailServer by sending the QUIT command. If successful, all changes to the mailbox are committed by the server. Otherwise, changes are rolled back to the initial state that the server was in before the connection.