Disable Outlook Security

P

Pietro

Hi,
I was looking for a VB code to disable the message "A program is
trying to send an email on your behalf. Do you want to allows this",the
message that appears when i try to send automtic e-mail through Access,I
could find the below code,but i don't know how to run it through Access to
disable this security message in Outlook,can anybody help?
the code is:

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

Rick Brandt

Pietro said:
Thank you Douglas for your reply,
Note that the code will run to enable sending,then send a message then
disable sending again,so it's not dangerous.

You missed Douglas' point. If *your* code could turn off the warning then
*anyone's* code could turn off the warning. Including the code of malware
which is the specific reason for the warning in the first place.
 
P

Pietro

Hi Jae,
I know this software well,but i cannot set it up on all PCs,do we have
another solution ?
 
J

Jae

Sorry that was the only solution that I have for Outlook. Lotus Notes don't
have that problem, if you are willing to change the e-mail software.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top