Method SMTPClient():disconnect() Professional

Disconnects from the SMTP server.

:disconnect() --> lSuccess

The method returns .T. (true) when an open connection can be terminated, otherwise .F. (false) is returned.


This method must be called to disconnect from an SMTP server once a connection has been successfully established. After :disconnect(), a new connection can be created with :connect().


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.