語言

SMTPConn.EnableSsl 屬性

定義

接收或設定一個布林值,指示在發送電子郵件時是否使用安全套接字層(SSL)加密通訊。

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

屬性值

true表示通訊是加密的,發送電子郵件時使用安全套接字層(SSL)。 false 表示未使用加密。

適用於