I indeed have the Option to save a copy to Sent enabled.
Also, if I Cancel the PickFoder dialog to not copy to a specific folder, then a copy will save to the Sent folder as usual.
What needs to be added or changed so that a copy of the sent message shows in the Sent folder with all data elements intact (date time sent, etc.)?
Code: Select all
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
If TypeOf Item Is Outlook.MailItem Then
SaveSentMail Item
End If
End Sub
Private Sub SaveSentMail(Item As Outlook.MailItem)
Dim F As Outlook.MAPIFolder
If Item.DeleteAfterSubmit = False Then
Set F = Application.Session.PickFolder
If Not F Is Nothing Then
Set Item.SaveSentMessageFolder = F
End If
End If
End Sub
Delain