POP3Socket.CheckServerConnection

From Xojo Documentation

Revision as of 19:36, 9 March 2017 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Method

POP3Socket.CheckServerConnection()

Supported for all project types and targets.

Sends a "NOOP" command to the mail server.

Notes

This is simply a command that asks the server to reply. This can be useful to check that the mail server is still responding and also tells the mail server that you are still connected if there has been no activity for a long period of time.

If successful, the ServerAvailable event handler is called.


Example

In this example, a POP3Socket has been added to the window and named socket1.

socket1.CheckServerConnection