Error Event
Provides information about errors during SMTP operations.
Syntax
typedef struct { int ErrorCode; String Description; } TsbxIMAPClientErrorEventParams; typedef void __fastcall (__closure *TsbxIMAPClientErrorEvent)(System::TObject* Sender, TsbxIMAPClientErrorEventParams *e); __property TsbxIMAPClientErrorEvent 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.