POP3Socket.RollbackServer

From Xojo Documentation

Revision as of 21:16, 25 October 2018 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Method

POP3Socket.RollbackServer()

Supported for all project types and targets.

Resets the mail server to the state that it was when you logged in.

Notes

RollbackServer can be used to undo deletions that occur by accident. The changes aren’t committed until the connection is closed. RollbackServer will roll back changes that have not yet been committed by issuing a RSET command to the POP3 server (see RFC 1939 for more details).

On success, the RollbackSuccessful event is fired. Otherwise, the ServerError event is fired.

Example

Me.RollbackServer