Automatically determines the URL of the EWS server.
Namespace: MailBee.EwsMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public bool Autodiscover(
string emailAddress
)
Public Function Autodiscover (
emailAddress As String
) As Boolean
Parameters
- emailAddress
- Type: SystemString
The e-mail address to autodiscover the EWS server for.
Return Value
Type:
Booleantrue if the autodiscover attempt succeeded; otherwise,
false.
Exceptions Remarks For Autodiscover to work, it must be correctly configured on the given MS Exchange server (e.g. https://domain.com/autodiscover/autodiscover.xml must return the valid
XML data). You also need to specify the credentials of a valid Exchange account (usually, the same account you're autodiscovering).
See Also