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

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public bool TestConnection()

Return Value

Type: Boolean
true if the test connection succeeded; otherwise, false.
Exceptions
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
NotImplementedExceptionThe .NET runtime is .NET Core.
Remarks
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