POP3Socket.DisconnectFromServer
From Xojo Documentation
Method
Disconnects from the mail server.
This sends a “QUIT” command to the mail server and waits for it to close the connection.
Example
This message logs off from the server. Socket1 is on the layout and has been declared as a POP3Socket.
socket1.DisconnectFromServer