Command Event
Reports a command sent to the server.
Syntax
typedef struct { String Cmd; } TsbxSMTPClientCommandEventParams; typedef void __fastcall (__closure *TsbxSMTPClientCommandEvent)(System::TObject* Sender, TsbxSMTPClientCommandEventParams *e); __property TsbxSMTPClientCommandEvent OnCommand = { 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.