SendAndSaveCopyWithFolderId method

Future<void> SendAndSaveCopyWithFolderId(
  1. FolderId destinationFolderId
)
Sends this response and saves a copy in the specified folder. Calling this method results in a call to EWS. The Id of the folder in which to save the copy of the message.

Implementation

Future<void> SendAndSaveCopyWithFolderId(FolderId destinationFolderId) async {
  EwsUtilities.ValidateParam(destinationFolderId, "destinationFolderId");

  await InternalCreate(
    destinationFolderId,
    MessageDisposition.SendAndSaveCopy,
  );
}