MailBeeRemoteHostExceptionWasConnected Property
Gets if the connection with the server had already been established to the moment when the exception occurred.

Namespace: MailBee
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public bool WasConnected { get; }

Property Value

Type: Boolean
true if the exception occurred after the server had already accepted the incoming connection from MailBee and returned the initial prompt; otherwise, false.
Remarks

If the server accepted the incoming connection but not yet returned the initial response, it's considered the connection hasn't been established yet. Typical case when this can occur (the socket connected but the full connection procedure was not complete) is when an error occurs during SSL handshake which occurs right between socket connection and returning an initial response to the client.

Not used for Exchange (EWS) protocol.

See Also