Click or drag to resize
MimeKit

IMailSpoolGetMessageHeaders(Int32, CancellationToken) Method

Get the headers for the specified message.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
HeaderList GetMessageHeaders(
	int index,
	CancellationToken cancellationToken = default
)

Parameters

index  Int32
The index of the message.
cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

HeaderList
The message headers.
Remarks
Gets the headers for the specified message.
See Also