Click or drag to resize
MimeKit

IMailSpoolGetMessageHeaders(IListInt32, CancellationToken) Method

Get the headers for the specified messages.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
IList<HeaderList> GetMessageHeaders(
	IList<int> indexes,
	CancellationToken cancellationToken = default
)

Parameters

indexes  IListInt32
The indexes of the messages.
cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

IListHeaderList
The headers for the specified messages.
Remarks
Gets the headers for the specified messages.
See Also