EwsRequireHttps Property
Gets or sets if only HTTPS end points are allowed by auto-discover procedure.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public bool RequireHttps { get; set; }

Property Value

Type: Boolean
If true, only HTTPS end points can be retrieved by auto-discover procedure. If false, both HTTP and HTTPS end points are permitted. The default is false.
Remarks
This value is only meaningful for auto-discovering the server host/port from the e-mail address (Autodiscover(String) method). It controls whether auto-discover procedure should discard HTTP-only host if there is no HTTPS host assigned as a EWS mail server for the given e-mail address. You can always connect to both HTTP and HTTPS if you manually specify the server host using SetServerUrl(String) method.
See Also