SmtpIsLoggedIn Property
Indicates whether the component has already successfully authenticated on the server and logged in the user account.

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public bool IsLoggedIn { get; }

Property Value

Type: Boolean
true if already authenticated the user on the server (Login method has already been called and ESMTP SASL authentication successfully completed); otherwise, false.
In multi-thread mode (MaxThreadCount is NOT 1), many threads may be executed simultaneously. While the authentication may already be completed on one thread, another thread may be just connecting to the server, etc. Due to this, IsLoggedIn property is not applicable in multi-thread mode (it returns false).
See Also