Skip to main content

Kutools for Office โ€” One Suite. Five Tools. Get More Done.

How to get a prompt or confirmation before sending emails in Outlook?

Author Siluvia Last modified

Have you ever clicked Send in Outlook, only to realize moments later that you missed important details, attached the wrong file, or spotted an embarrassing mistake? To prevent such issues, you can set up Outlook to prompt you with a confirmation dialog whenever you hit the Send button. This way, you have a second chance to review your emails carefully before they're actually sent. In this article, weโ€™ll walk you through an easy VBA solution to achieve this.

Get a Prompt or Confirmation Before Sending Emails Using VBA Code


Get a Prompt or Confirmation Before Sending Emails Using VBA Code

The following VBA code will make Outlook ask for your confirmation each time you try to send an email, giving you a chance to double-check your message.

1. Press "Alt" + "F11" to open the "Microsoft Visual Basic for Applications" window.

2. In the VBA window, locate the "Project Explorer" pane on the left. Under "Project1 (VbaProject.OTM)", double-click "Microsoft Outlook Objects", then double-click "ThisOutlookSession" to open its code window.

3. Copy and paste the following VBA code into the opened window:

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
    Dim xPrompt As String
    Dim xOkOrCancel As Integer
    On Error Resume Next
    
    xPrompt = "Do you want to continue sending this email?"
    xOkOrCancel = MsgBox(xPrompt, vbOKCancel + vbQuestion, "Confirm Email Sending")
    
    If xOkOrCancel <> vbOK Then
        Cancel = True
    End If
End Sub

the screenshot of step 3 about getting a prompt or confirmation before sending emails in Outlook using vba

4. Press "Alt" + "Q" keys to save and close the VBA editor.

๐Ÿ“Œ Result: From now on, each time you click Send to dispatch an email in Outlook, a confirmation dialog box will appear asking, "Do you want to continue sending this email?" Click "OK" to send or "Cancel" to return to the email and continue editing.

the screenshot of result about getting a prompt or confirmation before sending emails in Outlook using vba


๐Ÿ“Ž Never Forget an Email Attachment Again!

Tired of sending emails without important attachments? The powerful Remind Me When I Send a Message Thatโ€™s Missing Attachments feature in Kutools for Outlook instantly alerts you whenever your email mentions specific keywords but lacks attachmentsโ€”ensuring you never miss sending crucial files again!

๐ŸŒŸ Key Features:

  • Custom Keywords: Specify your own trigger words like "file," "invoice," or "document."
  • Instant Reminders: Get alerts upon clicking "Send" if your email contains keywords but lacks attachments.
  • Easy Setup: Quickly add or manage keywords with a simple interface.
the Remind Me When I Send a Message Thatโ€™s Missing Attachments feature

Best Office Productivity Tools

Breaking News: Kutools for Outlook Launches Free Version!

Experience the all-new Kutools for Outlook with 100+ incredible features! Click to download now!

๐Ÿค– Kutools AI : Uses advanced AI technology to handle emails effortlessly, including replying, summarizing, optimizing, extending, translating, and composing emails.

๐Ÿ“ง Email Automation: Auto Reply (Available for POP and IMAP)  /  Schedule Send Emails  /  Auto CC/BCC by Rules When Sending Email  /  Auto Forward (Advanced Rules)   /  Auto Add Greeting   /  Automatically Split Multi-Recipient Emails into Individual Messages ...

๐Ÿ“จ Email Management: Recall Emails  /  Block Scam Emails by Subjects and Others  /  Delete Duplicate Emails  /  Advanced Search  /  Consolidate Folders ...

๐Ÿ“ Attachments ProBatch Save  /  Batch Detach  /  Batch Compress  /  Auto Save   /  Auto Detach  /  Auto Compress ...

๐ŸŒŸ Interface Magic: ๐Ÿ˜ŠMore Pretty and Cool Emojis   /  Remind you when important emails come  /  Minimize Outlook Instead of Closing ...

๐Ÿ‘ One-click Wonders: Reply All with Attachments  /   Anti-Phishing Emails  /  ๐Ÿ•˜Show Sender's Time Zone ...

๐Ÿ‘ฉ๐Ÿผโ€๐Ÿคโ€๐Ÿ‘ฉ๐Ÿป Contacts & Calendar: Batch Add Contacts From Selected Emails  /  Split a Contact Group to Individual Groups  /  Remove Birthday Reminders ...

Use Kutools in your preferred language โ€“ supports English, Spanish, German, French, Chinese, and 40+ others!

Instantly unlock Kutools for Outlook with a single click. Don't wait, download now and boost your efficiency!

kutools for outlook features1 kutools for outlook features2

๐Ÿš€ One-Click Download โ€” Get All Office Add-ins

Strongly Recommended: Kutools for Office (5-in-1)

One click to download five installers at once โ€” Kutools for Excel, Outlook, Word, PowerPoint and Office Tab Pro. Click to download now!

  • โœ… One-click convenience: Download all five setup packages in a single action.
  • ๐Ÿš€ Ready for any Office task: Install the add-ins you need, when you need them.
  • ๐Ÿงฐ Included: Kutools for Excel / Kutools for Outlook / Kutools for Word / Office Tab Pro / Kutools for PowerPoint