sendmail OnWaitTimeoutExpired event
Return to Introduction  Previous page  Next page
Applies to
acSendMail, acHTTP, acThread and acSQLQueryThread components.  

Declaration
property OnWaitTimeoutExpired: TNotifyEvent;  

Description
The OnWaitTimeoutExpired event occurs when the component could not send email for the time interval specified in WaitTimeout property (when WaitTimeout is expired).  
 
tip The TherminateThread is optional parameter (True by default), which allows to terminate, or prevent termination of thread in case if specified time interval is expired before completion of execution of the thread.  

Notes
The WaitTimeout only works together with WaitThread property, only when it set to True.  

See also
Theaded, WaitThread and WaitTimeout properties;  
Abort method.