EwsCopyItem Method
Copies the specified item (e.g. mail message) into the specified folder.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public ItemId CopyItem(
	ItemId copiedItemId,
	FolderId targetFolderId
)

Parameters

copiedItemId
Type: ItemId
The ID of the item to copy. Null reference (Nothing in Visual Basic) not allowed.
targetFolderId
Type: FolderId
The ID of the folder where to copy the message. Null reference not allowed.

Return Value

Type: ItemId
ID of the new item if succeeded; otherwise, a null reference.
Exceptions
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
NotImplementedExceptionThe .NET runtime is .NET Core.
Remarks
Note Note
This method is not implemented in .NET Core. Use CopyItemAsync(ItemId, FolderId) instead.
See Also