Error Event
Reports information about errors during e-mail message loading, parsing or saving.
Syntax
ANSI (Cross Platform) virtual int FireError(MailReaderErrorEventParams *e);
typedef struct {
int ErrorCode;
const char *Description; int reserved; } MailReaderErrorEventParams; Unicode (Windows) virtual INT FireError(MailReaderErrorEventParams *e);
typedef struct {
INT ErrorCode;
LPCWSTR Description; INT reserved; } MailReaderErrorEventParams;
- (void)onError:(int)errorCode :(NSString*)description;
#define EID_MAILREADER_ERROR 3 virtual INT SECUREBLACKBOX_CALL FireError(INT &iErrorCode, LPSTR &lpszDescription);
Remarks
The event is fired in case of exceptional conditions during message processing.
ErrorCode contains an error code and Description contains a textual description of the error.