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

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 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.
Remarks
You can use this method if you need to check if the server URL (or Autodiscover settings), login and password are correct.
See Also