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