| IMailSpoolGetMessageSize Method |
Get the size of the specified message, in bytes.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax int GetMessageSize(
int index,
CancellationToken cancellationToken = default
)
Parameters
- index Int32
- The index of the message.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
Int32The message size, in bytes.
Remarks
Gets the size of the specified message, in bytes.
See Also