Share via


SMTPConn.EnableSsl Property

Definition

Gets or sets a Boolean indicating whether to encrypt communication using Secure Sockets Layer (SSL) when sending e-mail messages.

public:
 property bool EnableSsl { bool get(); void set(bool value); };
public bool EnableSsl { get; set; }
member this.EnableSsl : bool with get, set
Public Property EnableSsl As Boolean

Property Value

true indicates that communication is encrypted, using Secure Sockets Layer (SSL) when sending e-mail messages. false indicates that encryption is not used.

Applies to