Command Event
Reports a command sent to the server.
Syntax
ANSI (Cross Platform) virtual int FireCommand(SMTPClientCommandEventParams *e);
typedef struct {
const char *Cmd; int reserved; } SMTPClientCommandEventParams; Unicode (Windows) virtual INT FireCommand(SMTPClientCommandEventParams *e);
typedef struct {
LPCWSTR Cmd; INT reserved; } SMTPClientCommandEventParams;
- (void)onCommand:(NSString*)cmd;
#define EID_SMTPCLIENT_COMMAND 3 virtual INT SECUREBLACKBOX_CALL FireCommand(LPSTR &lpszCmd);
Remarks
The class fires this event whenever it sends an SMTP command to the server. Use CommandReply to track the server's responses.