SMTPSecureSocket.DisconnectFromServer

From Xojo Documentation

Method

SMTPSecureSocket.DisconnectFromServer()

Supported for all project types and targets.

Closes the connection with the mail server.