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

Declaration
property Thread: TCustomThread; // Read-only !!  

Description
The Thread property is the pointer to the process thread, which used for sending the data to SMTP server, avoiding suspending of main application thread. This is read-only public property.  
 
iiwarning This property can be used only in when Threaded property is True, since the component does not create any separate thread in non-threaded model. Otherwise this property will return nil (NULL), because the thread not yet created.  

See also
Suspended, ThreadPriority and Threaded properties.  
File not found.