| IMailFolderMoveTo(UniqueId, IMailFolder, CancellationToken) Method |
Move the specified message to the destination folder.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax UniqueId? MoveTo(
UniqueId uid,
IMailFolder destination,
CancellationToken cancellationToken = default
)
Parameters
- uid UniqueId
- The UID of the message to move.
- destination IMailFolder
- The destination folder.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
NullableUniqueIdThe UID of the message in the destination folder, if available; otherwise,
null.
Remarks
Moves the specified message to the destination folder.
See Also