Script Outlook to prompt to send if certain recipient present

woodgrain

Distinguished
Aug 19, 2010
2
0
18,510
Hi all,

I'm wanting to put some scripting in place for users in Outlook, as there have been a number of times that emails have been sent to the entire office when they should have only gone to a few recipients.

I'd like to have a script that runs when they press "Send" that checks the recipients in the TO & CC fields for a certain email address. So for example we have a group, call it "ABC" group (whose email would be abc@abc.com at a guess), that contains all of the staff in it, I'd want to check the recipient and if it is the above group open a warning "Are you sure" dialogue box with Yes & No buttons, Yes sending the message and No returning to the message for further editing.

I found this script from a google search, but don't know if it's functional, nor how to adapt it to what I'm after:
http://www.codeguru.com/forum/showthread.php?t=269151

Any help would be appreciated :)
Thanks!