MailServiceIsAuthenticated Property

Get whether or not the client is currently authenticated with the mail server.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public abstract bool IsAuthenticated { get; }

Property Value

Boolean
if the client is authenticated; otherwise, .

Implements

IMailServiceIsAuthenticated

Remarks

Gets whether or not the client is currently authenticated with the mail server.

To authenticate with the mail server, use one of the Authenticate methods or any of the Async alternatives.

See Also