Internet Direct (Indy)
Home
PreviousUpNext
TIdPOP3Server.OnQUIT

Implements closing and housekeeping for a POP3 session.

OnQUIT is a TIdPOP3ServerNoParamEvent property that represents the event handler signalled when a threaded client connection performs the POP3 QUIT command verb. 

OnQUIT allows the server to implement processing required to release resources acquired during POP3 session, remove messages marked for deletion, and close the client connection. 

OnQUIT is triggered by the command event handler that implements the POP3 QUIT command for the client context. 

Assign a procedure to the event handler to allow responding to the event notification. The OnQUIT event handler is not triggered if the TIdPOP3ServerThread.State property contains a value other than Trans. The event handler is responsible for writing the POP3 goodbye response, and setting the TIdPOP3ServerThread.State to Update for the POP3 client session.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.