| IMailFolderAppendAsync(FormatOptions, IAppendRequest, CancellationToken) Method |
Asynchronously append a message to the folder.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax Task<UniqueId?> AppendAsync(
FormatOptions options,
IAppendRequest request,
CancellationToken cancellationToken = default
)
Parameters
- options FormatOptions
- The formatting options.
- 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