EnableTLS

Applies to

SMTPClient object

Description

Specifies whether the SMTPClient uses Transport Layer Security (TLS) to encrypt the connection. Values are:

  • TRUE -- (Default) Enables TLS.

  • FALSE -- Disables TLS.

Data type

Boolean.

Usage

In scripts

The EnableTLS property takes a boolean value.

lnv_SmtpClient.EnableTLS = True