sendmail WaitThread property
Return to Introduction  Previous page  Next page
Applies to
SendMail component.  

Declaration
property WaitThread: Boolean;  

Description
The WaitThread property controls whether the procedure that calls the Send method (which downloads the data from the Web) should be suspended and wait until the scanning process will be done.  
 
Set the WaitThread to True, if you would like to read the data from the Web so that the application does not continue with next lines of code after calling the Send method. Your application will done download (or inform about error) before continuing to next step.  
 
tip If your application can wait, until the the email will be sent, only for some limited time interval — specify WaitTimeout property.  

See also
WaitTimeout, Thread, Threaded and Suspended properties;  
Send method.  
sIU/QH/K+!