Error Event
Provides information about errors during SMTP operations.
Syntax
typedef struct { int ErrorCode; String Description; } TsbxSMTPClientErrorEventParams; typedef void __fastcall (__closure *TsbxSMTPClientErrorEvent)(System::TObject* Sender, TsbxSMTPClientErrorEventParams *e); __property TsbxSMTPClientErrorEvent OnError = { read=FOnError, write=FOnError };
Remarks
This event is fired in case of exceptional conditions occured during SMTP operations.
ErrorCode contains an error code and Description contains a textual description of the error.