IMailSpoolGetMessageHeaders(IListInt32, CancellationToken) Method

Get the headers for the specified messages.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
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