EwsTestConnection Method
Makes a test connection to validate the current settings.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public bool TestConnection()

Return Value

Type: Boolean
true if the test connection succeeded; otherwise, false.
MailBeeExceptionAn error occurred and ThrowExceptions is true.
NotImplementedExceptionThe .NET runtime is .NET Core.
You can use this method if you need to check if the server URL (or Autodiscover settings), login and password are correct.
Note Note
This method is not implemented in .NET Core. Use TestConnectionAsync instead.
See Also