Click or drag to resize
MimeKit

IMailSpoolGetMessageSizesAsync Method

Asynchronously get the sizes for all available messages, in bytes.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
Task<IList<int>> GetMessageSizesAsync(
	CancellationToken cancellationToken = default
)

Parameters

cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

TaskIListInt32
The message sizes, in bytes.
Remarks
Asynchronously gets the sizes for all available messages, in bytes.
See Also