Topic Path: Pending > TIdPOP3Server.OnRSET
ContentsIndexHome
PreviousUpNext
TIdPOP3Server.OnRSET

Implements resetting a POP3 client session.

OnRSET is a TIdPOP3ServerNoParamEvent property that represents the event handler signalled when a threaded client connection performs the POP3 RSET command verb. OnRSET allows the server to implement processing required to unmark any messages marked for deletion from the server mail store for the client connection. 

OnRSET is triggered by the command event handler that implements the TIdCommand for RSET for the threaded client connection. Note: OnRSET is not triggered for a client connection where TIdPOP3ServerThread.State contains a value other than Trans. 

OnRSET is responsible for writing the positive POP3 response to the client connection after restoring messages marked for deletion; Negative POP3 responses are written by the RSET command handler when TIdPOP3ServerThread.State contains a value other than Trans or the OnREST event handler has not been assigned.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.