For SMTPClient object

Applies to

SMTPClient object

Description

Specifies the secure protocol. The secure protocol is detected and used in the following order: TLS 1.3, TLS 1.2, TLS 1.1, TLS 1.0.

0 -- (Default) All secure protocols

1 -- TLS 1.0

2 -- TLS 1.1

3 -- TLS 1.2

4 -- TLS 1.3

Usage

In scripts

The SecureProtocol property takes an integer value. The following example sets the SecureProtocol property to use all the secure protocols:

lnv_SmtpClient.SecureProtocol = 0