Disable outlook security

Suppress "Program is trying to access email addresses in Outlook"


If you are engaged in Microsoft Outlook programming and develop add-ins or applications that interact with Outlook, you have probably run into alerts or warnings fired by the Outlook Object Model Security Guard.

Outlook Security Manager allows you to easily bypass Outlook security settings and suppress security prompts with a few code lines:

  • A program is trying to access e-mail address information stored in Outlook
  • A program is trying to automatically send email on your behalf
  • A program is trying to access your Address book or Contacts
A program is trying to access e-mail address information stored in Outlook

Disable Outlook security alerts with a line of code!

A program is trying to automatically send email on your behalf

With Outlook Security Manager you need just a line of code to disable Outlook Security settings, and you can freely use any protected Outlook objects such as contacts or items. This programming tool provides the easiest way to get round Outlook Security when working with Outlook Object Model (OOM), Collaboration Data Objects (CDO) and Simple MAPI (SMAPI).

Outlook Security Manager is developed for NET, Delphi VCL and ActiveX platforms and supports all Outlook versions of 2000 through 2016.

How Outlook Security Manager works

The main Outlook objects such as the address book or mail items including their properties and methods are protected by Microsoft Outlook Security settings. Calling them evokes security warning messages like "A program is trying to access e-mail addresses you have stored in Outlook".

Outlook Security Manager is an in-process COM object that handles all internal events of the Outlook E-mail Security Engine rather than "hacks" or "hooks". Unlike similar tools, Outlook Security Manager doesn't transform OOM and CDO calls to Extended MAPI calls and doesn't make development more complicated by its own special objects.

It just implements one object with three properties that enable or disable Outlook Security for OOM, CDO and SMAPI. These properties are DisableOOMWarnings, DisableCDOWarnings and DisableSMAPIWarnings. Before calling a protected object you just disable Outlook Security via the corresponding property, and then you turn it on again.

Find more details

How to bypass "A program is trying to access e-mail address information"

You need to set the DisableOOMWarnings property of Outlook Security Manager to true before execution of your add-in's code that is trying to access protected Outlook objects.

C# code example:

SecurityManager.DisableOOMWarnings = true;
    //...some actions with protected Outlook objects...
    SecurityManager.DisableOOMWarnings = false;

Get rid of "a program is trying to automatically send email"

You need to call the ConnectTo method and set the DisableOOMWarnings property to true before executing the code that sends email from Access, PowerPoint, Word or other Office applications using the Outlook Object Model.

VBA code example:

OlSecurityManager.ConnectTo OutlookApp
OlSecurityManager.DisableOOMWarnings = True
On Error Goto Finally
    '... any action with protected objects, sending email...
    OlSecurityManager.DisableOOMWarnings = False

Supported Outlook versions

  • Microsoft Outlook 2000
  • Microsoft Outlook 2002 (XP)
  • Microsoft Outlook 2003
  • Microsoft Outlook 2007
  • Microsoft Outlook 2010 (x86 and x64)
  • Microsoft Outlook 2013 (x86 and x64)
  • Microsoft Outlook 2016 (x86 and x64)
  • All Outlook service packs and updates are supported

Outlook Security Manager .NET

  • Visual Studio 2017, 2015, 2013, 2012, 2010
  • VB.NET
  • C#
  • C++.NET

Outlook Security Manager Delphi VCL

  • Delphi XE2 - Delphi 10.2

Outlook Security Manager ActiveX

  • Visual Studio 6
  • Visual Basic for Applications (VBA, including Excel VBA, Word VBA, Outlook VBA)
  • Microsoft Office MailMerge functionality
  • Visual C++ 6 (MFC, ATL)
  • Visual Basic 6
  • and all other programming languages or IDE that support ActiveX-es

How to buy this product

Add-in Express Ltd.

Security Manager for Outlook as well as all other development components available on AbleBits.com are products of Add-in Express Ltd.

To purchase the product, please click the order link below. This will take you to Add-in Express's order page where you can review the subscriptions and prices and choose the one that is right for you.

Buy Security Manager for Microsoft Outlook

Microsoft Visual Studio Industry Partner

Visual Studio Industry Partner

Add-in Express Ltd. is a privately held software development company located in Homel, Belarus. Established in 1998, Add-in Express Ltd. focuses on tools and solutions purposed for Microsoft Office integration. It has been a Microsoft Visual Studio Industry Partner for the last few years.

Contact us

Our working hours: 0am to 10am PST; 3am to 1pm EST; 8am to 6pm CET.

Ultimate Suite 2018.5 for Excel
60+ tools for Excel
December offer: Dec. 8 – Dec. 17
Excel add-ins and Outlook tools - Ablebits.com