4D v18

transporter.keepAlive

Home

 
4D v18
transporter.keepAlive

transporter.keepAlive 


 

   
Parameter Type   Description
transporter.keepAlive   Boolean in True if connection is kept alive until the transporter object is destroyed

Read-only property

The transporter.keepAlive property contains True if the SMTP connection must be kept alive until the transporter object is destroyed, and False otherwise. By default, if the keepAlive property has not been set in the server object (used to create the transporter object with SMTP New transporter), it is true.

The SMTP connection is automatically closed:

  • when the transporter object is destroyed if the keepAlive property is true,
  • after each transporter.send( ) method execution if the keepAlive property is set to false.



See also 

SMTP New transporter

 
PROPERTIES 

Product: 4D
Theme: Mail

 
HISTORY 

Created: 4D v17 R4

 
ARTICLE USAGE

4D Language Reference ( 4D v18)