Disable Outlook security

Suppress security warnings programmatically

Security Manager for Microsoft Outlook allows you to easily bypass security settings and suppress the following prompts with a few code lines. The .NET, VCL and ActiveX editions are included in one package.

  • 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
Learn more
More about Security Manager for Microsoft Outlook

Why Security Manager for Outlook?

Disable Outlook security with a line of code
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).
A program is trying to automatically send email on your behalf
A program is trying to access e-mail address information stored in Outlook
Simple and transparent
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, it 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.

Code examples

Bypass "A program is trying to access e-mail addresses..."
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;

Disable "A program is trying to automatically send email..."
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

System requirements

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)
  • Microsoft Outlook 2019 (x86 and x64)
  • All Outlook service packs and updates are supported

Outlook Security Manager .NET

  • Visual Studio 2019 - 2010
  • VB.NET
  • C#
  • C++.NET

Outlook Security Manager Delphi VCL

  • Delphi XE2 - Delphi 10.4

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
  • All other programming languages or IDE that support ActiveX-es

Any questions or comments?

Please contact us here

Our working hours:
12:00 am - 10:00 am PST; 3:00 am - 1:00 pm EST; 8:00 am - 6:00 pm CET.

Your message was successfully sent.

Thank you for contacting us!
We will get back to you shortly.

You will receive a delivery confirmation for your message within a few minutes. If you don't get it, please re-send your message and make sure you entered a valid e-mail address.