Outlook Security settings disabled with a line of code! - Outlook Security Manager
Security Manager 2007
for Microsoft® Outlook®
IDEs
- Visual Basic .NET 2003, 2005
- Visual C# .NET 2003, 2005
- Visual C++ .NET 2003, 2005
- Visual J# .NET 2003, 2005
Visulal Basic 6
Visual C++ 6
VBA (Visual Basic for Applications) - Delphi .NET 2005, 2006
Delphi VCL 5 - 2007 - Turbo Delphi Win32
RemObjects Chrome 1.5
MS Office MailMerge
Outlook versions
- Outlook 2000
- Outlook 2002 (XP)
- Outlook 2003
- Outlook 2007
Outlook Security Manager is developed and supported by MAPILab Ltd. together with Add-in Express Ltd. You can find the end-user version of Outlook Security Manager on mapilab.com.
Outlook Security Manager (full name - Security Manager 2007 for Microsoft Outlook) is a one-line programming tool that allows you to bypass security settings and avoid security warnings, alerts or prompts in add-ins and applications that interact with Microsoft Outlook. Outlook Security Manager is developed for .NET, VCL and ActiveX platforms (VB.NET, C#, C++, Visual Basic 6, Delphi, VBA, Word MailMerge) and supports Microsoft Outlook 2000, Outlook 2002 (XP), Outlook 2003 and Outlook 2007 with / without service packs.
When are Outlook security alerts fired?
If you are going to develop MS Outlook add-ins or applications interacting with Microsoft Outlook, you will run into or have already run into security warnings, or alerts. Key Outlook objects such as the address book or mail items including their properties and methods are protected by security settings. Accessing such objects makes the Outlook Object Model Guard fire a popup warning like "a program is trying to access your Address book or Contacts" or "a program is trying to access e-mail addresses you have stored in Outlook..."

How to prevent Outlook security warnings from appearing?
Need to remove security alerts? With Outlook Security Manager you can easily bypass security settings in MS Outlook and turn off an alert, or a pop-up message with just one line of code! Unlike similar tools, Outlook Security Manager doesn't transform OOM (Outlook Object Model) and CDO (Collaboration Data Objects) 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 security settings for Outlook objects, CDO and Simple MAPI including MailMerge. These properties are DisableOOMWarnings, DisableCDOWarnings and DisableSMAPIWarnings. Before calling a protected object you just switch off Outlook security via the corresponding property, and then you turn it on again. For example:
Visual Basic .NET
| Dim SecurityManager As New AddinExpress.Outlook.SecurityManager |
| SecurityManager.DisableOOMWarnings = True |
| Try |
| ' ... any action with protected objects ... |
| Finally |
| ' In any case please remember to turn on |
| ' Outlook Security after your code, |
| ' since now it is very easy to switch it off! :-) |
| SecurityManager.DisableOOMWarnings = False |
| End Try |
Visual Basic 6 (VBA)
| OlSecurityManager.DisableOOMWarnings = True |
| On Error Goto Finally |
| ' ... any action with protected objects ... |
| Finally: |
| OlSecurityManager.DisableOOMWarnings = False |
Delphi
| OlSecurityManager.DisableOOMWarnings := True; |
| try |
| // ... any action with protected objects ... |
| finally |
| OlSecurityManager.DisableOOMWarnings := False; |
| end; |
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". Outlook Security Manager directly supports three platforms, .NET, VCL and ActiveX (VB.NET, C#, C++ MFC/ATL/.NET, Visual Basic 6, Delphi, VBA, Word MailMerge) and takes into account the platforms' peculiarities. Please note all the editions are included in one license package. Suppress Outlook security alerts programmatically with a line of code! Enjoy Outlook development with no irritating popup warnings. You can order Outlook Security Manager now, get it instantly and use Outlook objects without any security troubles.
Our customer says:
"In case you're wondering, we're very happy customers! Your product has proven to be very well-written and stable, and your support has been worth many times what we paid."
Mike Leftwich, Timetag Inc. - More customers say...
Complete documentation
Outlook Security Manager comes with complete documentation that includes Outlook Security Manager Developer's Guide and Outlook Security Manager Class Reference. It gives Office developers the possibility to create sophisticated Office plug-ins comparable with top products at the Office market.
See Also
Have a question? Ask it right now!
![]() |
If you need quick assistance or want to share your concerns, ideas or suggestions, please write us using the form below. |
![]() |



