| IMailFolderAppendAsync(IAppendRequest, CancellationToken) Method |
Asynchronously append a message to the folder.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax Task<UniqueId?> AppendAsync(
IAppendRequest request,
CancellationToken cancellationToken = default
)
Parameters
- request IAppendRequest
- The append request.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskNullableUniqueIdThe UID of the appended message, if available; otherwise,
null.
Remarks
Asynchronously appends a message to the folder and returns the UniqueId assigned to the message.
See Also