 | IMailSpoolGetMessageHeaders(Int32, CancellationToken) Method |
Get the headers for the specified message.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.10.0
SyntaxHeaderList GetMessageHeaders(
int index,
CancellationToken cancellationToken = default
)
Parameters
- index Int32
- The index of the message.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
HeaderListThe message headers.
Remarks
Gets the headers for the specified message.
See Also