[Script] Monitor Outlook message for external recipients

Post your working scripts, libraries and tools for AHK v1.1 and older
theoky
Posts: 1
Joined: 02 Mar 2017, 15:54

[Script] Monitor Outlook message for external recipients

Post by theoky » 02 Mar 2017, 16:15

MS Outlook (starting with 2010) has the MailTips feature which warns you, e.g., when sending an email to too many recipients or to external recipients (outside your organisation).

Sometimes this will not work (e.g., the option for checking external recipients is disabled on the server-side). In these cases (and for the external recipients) this script comes to the rescue - after minimal customisation (see the source for that) and running it.

The script can be found here: https://github.com/theoky/ahk-stuff, has the name NoEmbarrassingMails.ahk, uses COM to communicate with Outlook, and is GPL licensed.

When the script is running and an open Outlook message window with a recipient not being in your organisation (see customisation) is discovered, it displays a small warning (inspired by the fine KeypressOSD tool, found here: https://autohotkey.com/boards/viewtopic.php?f=6&t=225).

Besides from all that, mainly a learning experience with autohotkey, Outlook and COM, so it may or may not be useful.
gibbons6546
Posts: 31
Joined: 07 Apr 2020, 11:53

Re: [Script] Monitor Outlook message for external recipients

Post by gibbons6546 » 21 Jul 2020, 22:10

Will try this out, thanks! Great idea
Post Reply

Return to “Scripts and Functions (v1)”