SendAndSaveCopyWithWellKnownFolder method

void SendAndSaveCopyWithWellKnownFolder(
  1. WellKnownFolderName destinationFolderName
)
Sends this response and saves a copy in the specified folder. Calling this method results in a call to EWS. The name of the folder in which to save the copy of the message.

Implementation

void SendAndSaveCopyWithWellKnownFolder(
  WellKnownFolderName destinationFolderName,
) {
  InternalCreate(
    FolderId.fromWellKnownFolder(destinationFolderName),
    MessageDisposition.SendAndSaveCopy,
  );
}