WebMail.EnableSsl Property

Gets or sets a value that indicates whether Secure Sockets Layer (SSL) is used to encrypt the connection when an email message is sent.

Namespace:  System.Web.Helpers
Assembly:  System.Web.Helpers (in System.Web.Helpers.dll)

Syntax

'Declaration
Public Shared Property EnableSsl As Boolean 
    Get 
    Set
'Usage
Dim value As Boolean 

value = WebMail.EnableSsl 

WebMail.EnableSsl = value
public static bool EnableSsl { get; set; }
public:
static property bool EnableSsl {
    bool get ();
    void set (bool value);
}
static member EnableSsl : bool with get, set
static function get EnableSsl () : boolean 
static function set EnableSsl (value : boolean)

Property Value

Type: System.Boolean
true if SSL is used to encrypt the connection; otherwise, false.

Remarks

This property is typically set one time in the _AppStart.cshtml file.

See Also

Reference

WebMail Class

System.Web.Helpers Namespace