Gets or sets if only HTTPS end points are allowed by auto-discover procedure.
Namespace: MailBee.EwsMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public bool RequireHttps { get; set; }
Public Property RequireHttps As Boolean
Get
Set
Property Value
Type:
BooleanIf
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