Internet Direct (Indy)
Home
PreviousUpNext
TIdSMTP.UseTLS Property

Indicates Transport-Level Security is used on the SMTP server connection.

Pascal
property UseTLS;

UseTLS is a published Boolean property used to indicate if Transport-Level Security is used on the connection to the SMTP server. When UseTLS is True, transport-level encryption and/or authentication is used for the connection. 

Changing the value of UseTLS to True forces the value in UseEHLO to to be set to True, as well. UseEHLO is a required when explicit TLS is requested and the server supports the capability. 

Use Capabilities to determine if the server supports use of StartTLS prior to performing authentication for the SMTP session.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.