JVCL Help:TJvMail.OnError

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when a Simple MAPI error occurs.


Pascal

 TJvMailErrorEvent = procedure (Sender: TJvMail; ErrorCode: ULONG) ofobject;
propertyOnError: TJvMailErrorEvent;


Parameters

Parameters Description
ErrorCode The error code for the problem that was encountered.
Sender The component that encounters the exception.


Description

Write an OnError event handler to take specific actions when an error occurs.
Assigning an OnError event to a TJvMail object, prevents the object from raising EJclMapiError errors, after a Simple MAPI function failed.


See Also

TJvMail.ErrorCheck


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page