Disconnects from the mail server.
Object Oriented Interface
public function doDisconnect();
This method makes the class 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.