Internet Direct (Indy) Version 9.0.2 Beta
TIdSMTP.Disconnect
Closes the SMTP session.

procedure Disconnect; override;
Description
Disconnect is a procedure that closes the SMTP session. When Connected is True, the SMTP QUIT command is used to inform the server that the session will be ended. Disconnect calls the inherited Disconnect method, and indicates that the SMTP session has not been previously authenticated.