SaveSentMessageFolder Property

Microsoft Outlook Visual Basic

SaveSentMessageFolder Property

       

Returns a MAPIFolder object that represents the folder in which a copy of the mail message will be saved upon being sent.

expression.SaveSentMessageFolder

expression   Required. An expression that returns one of the items in the Applies To list.

Example

This VBScript example uses the Reply event and sets the Sent Items folder for the reply item to the folder in which the original item resides.

Function Item_Reply(ByVal myResponse)
    Set myResponse.SaveSentMessageFolder = Item.Parent
End Function