Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In outlook 2007, I would like to be prompted to Save or Delete the message after I click on Send button. How do I do this?

share|improve this question
add comment

1 Answer 1

You can create a VBA macro and attach it to the "Application.ItemSend" event.

Here's some macro code you can put in there that will ask you if you want to save it to the "Sent" folder, or just delete it:

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)

  Dim mailItem As Outlook.mailItem
  Dim strPrompt As String
  Dim response As VbMsgBoxResult

  strPrompt = "Do you want to save this email in the Sent folder?"
  response = MsgBox(strPrompt, vbYesNo, "Save to Sent folder?")

  If (response = vbNo) Then
    Set mailItem = Item
    mailItem.DeleteAfterSubmit = True
  End If

End Sub
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.