EmailMessage.SendAndSaveCopy Method

Definition

Overloads

SendAndSaveCopy()

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

SendAndSaveCopy(FolderId)

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

SendAndSaveCopy(WellKnownFolderName)

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

SendAndSaveCopy()

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

public:
 void SendAndSaveCopy();
public void SendAndSaveCopy ();
Public Sub SendAndSaveCopy ()

Remarks

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).

Applies to

SendAndSaveCopy(FolderId)

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

public:
 void SendAndSaveCopy(Microsoft::Exchange::WebServices::Data::FolderId ^ destinationFolderId);
public void SendAndSaveCopy (Microsoft.Exchange.WebServices.Data.FolderId destinationFolderId);
Public Sub SendAndSaveCopy (destinationFolderId As FolderId)

Parameters

destinationFolderId
FolderId

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

Remarks

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).

Applies to

SendAndSaveCopy(WellKnownFolderName)

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

public:
 void SendAndSaveCopy(Microsoft::Exchange::WebServices::Data::WellKnownFolderName destinationFolderName);
public void SendAndSaveCopy (Microsoft.Exchange.WebServices.Data.WellKnownFolderName destinationFolderName);
Public Sub SendAndSaveCopy (destinationFolderName As WellKnownFolderName)

Parameters

destinationFolderName
WellKnownFolderName

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

Remarks

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).

Applies to