Solved

Outlook Security Warning 2010

Posted on 2010-08-23
2
1,763 Views
Last Modified: 2012-05-10
Hi all,

We have an inhouse grown MS Access application for managing our jobs etc. We have triggers in the application to send mail to various staff members.

Suddenly in Office 2010 the outlook is now popping up the "A program is trying to send an email message on your behalf" - Accept/Deny.

I seem to recall that this was a security feature enabled in 2003 and using late/early binding cant remember which / or the Docmd.Sendobject you could avoid the message box - but now its back on everything?


Is it my imagination or has Outlook/Office 2010 been updated recently to be more vigilant with that warning?

Thanks
Sean

0
Comment
Question by:SeanNij
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 4

Expert Comment

by:Geek_Nabil
ID: 33508051
To disable Outlook Security we use the DisableOOMWarnings property. But here is one peculiarity. To use Outlook Security Manager from inside of your Outlook  Automation application you should connect it to the Outlook.Application object used in your application. So, you use the ConnectTo method of the TOlSecurityManager class

Example in Visual Basic .NET

If you need further clarification let me know


Dim SecurityManager As New AddinExpress.Outlook.SecurityManager 
SecurityManager.ConnectTo(outlookApp) 
SecurityManager.DisableOOMWarnings = True 
Try 
  '... any action with protected objects such as contacts or items... 
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

Open in new window

0
 
LVL 4

Accepted Solution

by:
Geek_Nabil earned 500 total points
ID: 33508058
In case you use Visual Basic
Here is a VBA Script

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

Open in new window

0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question