 | IMailSpoolGetMessageSize Method |
Get the size of the specified message, in bytes.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.10.0
Syntaxint 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