Command Event
Reports a command sent to the server.
Syntax
type TCommandEvent = procedure ( Sender: TObject; const Cmd: String ) of Object;
property OnCommand: TCommandEvent read FOnCommand write FOnCommand;
Remarks
The component fires this event whenever it sends an SMTP command to the server. Use CommandReply to track the server's responses.