| IMailFolderAppendAsync(IListIAppendRequest, CancellationToken) Method |
Asynchronously append multiple messages to the folder.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax Task<IList<UniqueId>> AppendAsync(
IList<IAppendRequest> requests,
CancellationToken cancellationToken = default
)
Parameters
- requests IListIAppendRequest
- The append requests.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskIListUniqueIdThe UID of the appended message, if available; otherwise, an empty array.
Remarks
Asynchronously appends multiple messages to the folder and returns the UniqueIds assigned to each of the messages.
See Also