Internet Direct (Indy) Version 9.0.1 Beta
TCommandEvent
IMAP4 command event type.

TCommandEvent = procedure (Thread : TIdPeerThread; const Tag, CmdStr: String; var Handled: Boolean) of object;
Description
TCommandEvent is an event fired for every IMAP4 command which is supported by the TIdMAPI4Server component.

The Thread parameter is the thread for this connection.

Tag is the command tag which was sent from the IMAP4 client.

Command contains a string of the parameters following the detected command.

Set handled to True if you have completely handled the event.