I am using outlook 2010.

I would like to receive a popup after clicking on the send button. The Popup should say "Do you want to continue sending the mail?" and it should have two buttons on it

  1. Ok( After clicking on it the mail should be sent)
  2. Cancel( The mail should not go)

How can I accomplish this?


Here is your VBA macro:

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
    If MsgBox("Do you want to continue sending the mail?", vbOKCancel) <> vbOK Then
        Cancel = True
    End If
End Sub

Just press ALT+F11 in Outlook, copy-paste the macro to ThisOutlookSession object and save it.

protected by Community Aug 17 '16 at 18:32

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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