Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

EmailMessage.SendAndSaveCopy method (WellKnownFolderName)

EWS Managed API

Sends this e-mail message and saves a copy of it in the specified folder.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)
'Declaration
PublicSubSendAndSaveCopy ( _
	destinationFolderNameAsWellKnownFolderName _
)
'Usage
DiminstanceAsEmailMessageDimdestinationFolderNameAsWellKnownFolderName

instance.SendAndSaveCopy(destinationFolderName)

Parameters

destinationFolderName
Type: Microsoft.Exchange.WebServices.Data.WellKnownFolderName

The name of the folder in which to save the copy.

This method does not work if the message has unsaved attachments. In that case, the message must first be saved and then sent. Calling this method results in a call to Exchange Web Services (EWS).

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.