Indy 9
|
TCommandEvent = procedure (Thread : TIdPeerThread; const Tag, CmdStr: String; var Handled: Boolean) of object;
Thread is the client thread for the event notification, and provides the client context during execution.
Tag is the IMAP4 command tag sent from the IMAP4 client. Tag is a 4-digit continuous number (e.g. 000A) which is sent by the IMAP client in front of the command, and is used to associate a server response with a specific client command.
Command contains command parameters parsed from the client connection in Thread. The complete list of IMAP4 commands and parameters can be found inL
Set Handled to True if the event handler has completed handling for the event notification.