Click or drag to resize
MimeKit

IMailSpoolGetMessageCount Method

Get the message count.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
int GetMessageCount(
	CancellationToken cancellationToken = default
)

Parameters

cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

Int32
The message count.
Remarks
Gets the message count.
See Also