IMail SpoolGet Message Headers(IListInt 32, Cancellation Token) Method
Get the headers for the specified messages.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
The headers for the specified messages.
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
IListHeaderListThe headers for the specified messages.
Remarks
Gets the headers for the specified messages.