When running the PoliteMail Add-in, if you recieve the following warning message:

A Program is trying to access data from Outlook that may include address book information. Do you want to allow this?  Allow Deny Help

The best solution to this issue is to run up-to-date anti-virus software on the local machine

This warning is typically a result of your anti-virus software being out-of-date, in conjuction with the Outlook E-mail Security update (from Outlook 2000 (xp) with settings holding over in Outlook 2007 and 2010). This security update affects how other applications interact with Outlook by changing the default security zone settings from “Internet” to “restricted”.

The Outlook E-mail Security Update and changes the way that Outlook can be controlled programmatically, restricted programmatic to Outlook means Outlook will prompt you for permission when PoliteMail tries to perform its work, but only when you do not have up-to-date antivirus software installed on the machine.

With restricted programmatic access, you receive warning messages when PoliteMail tries to do anything in the following list:

Send mail on your behalf
Access your address book
Access e-mail names from your messages
Access e-mail information from your contacts or other types of items
Save your messages to the file system
Search your messages for content
Use the MAPI interface to create and/or send messages

Typically, if you are running up-to-date antivirus software that Outlook can detect, it will allow the anti-virus software to override these settings. For PoliteMail to work with some anti-virus software, you may have to turn the Outbound email scanning option to OFF.

How to disable the security warning in Outlook

You may change the programmatic access options within Outlook 2007/2010 by using the following:

1) Close Outlook, and right-click on the Outlook shortcut to Run Outlook as administrator

2) In Outlook 2010, go to File > Options > Trust Center > Programmatic Access

In Outlook 2007, go to Tools > Trust Center > Programmatic Access

3) Set the programmatic access to Never warn me
Please note, a better alternative is to update your anti-virus software

Another option is to edit the Windows Registry on the local machine (you may have to create the registry key if it does not exist)

Outlook 2010

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Outlook\Security
DWORD: ObjectModelGuard
Value: 2

You can also set the keys below (create them if they do not exist)

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\outlook\security
DWORD: PromptOOMSend
Value: 2

DWORD: AdminSecurityMode
Value: 3

Outlook 2007

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Outlook\Security
DWORD: ObjectModelGuard
Value: 2

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\outlook\security
DWORD: PromptOOMSend
Value: 2

DWORD: AdminSecurityMode
Value: 3