Solved

Send Mail Confirmation

Posted on 2006-11-20
4
236 Views
Last Modified: 2010-04-08
On Outlook 2003 is there a way to get a confirmation dialog box when sending an email?  After clicking SEND, I would like a box to ask something like, 'Are you sure?'.  
0
Comment
Question by:doe5
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 total points
ID: 17978867
This should do it...

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
    Dim intRes As Integer
    Dim strMsg As String
   
    If Item.Class = olMail Then
        strMsg = "Are you sure you want to send this email?"
        intRes = MsgBox(strMsg, vbYesNoCancel + vbDefaultButton1, "Send mail?")
        Select Case intRes
            Case vbNo
                Cancel = True
            Case vbCancel
                Cancel = True
            Case vbYes
                ' default behavior -- nothing to change
        End Select
     End If
End Sub
0
 
LVL 18

Expert Comment

by:Frankco
ID: 17979030
Hi sirbounty,


sirbounty's answer is good.

I just want to add, you can download an addin on Microsoft's addin page to prompt you before you "send to all". The creator is Sperry, a Microsoft certified partner. Cost is $9.
http://office.microsoft.com/en-us/marketplace/EM012261031033.aspx

cheers,
frankco

0
 

Author Comment

by:doe5
ID: 17979109
sirbounty,

I need a little bit more hand holding.  I've never done any code in Outlook.  Can you point me to a site that will tell me where and how to put this code in?

Frankco,
I would be willing to pay $9 but I want it for every single time I hit send not just send to all.
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 17979442
Press <Alt> + F11 to get the code window (in Outlook)
On the left pane, drop down Project1, Microsoft Office Outlook Objects, double-click ThisOutlookSession and paste the code on the right-hand side.

Click File/close (or <Alt>+Q) to close.
Restart Outlook and enable macros...
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
Find out what you should include to make the best professional email signature for your organization.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question