Disable Outlook Security Warning

Posted on 2009-05-12
Last Modified: 2012-06-21
I am working in access and I want to mail a table, but when press the button show me a message Microsoft Outlooik Allow Deny help dialog box. I do not want this box show up. How I can disable this message.
DoCmd.SendObject acSendTable, "RE_LastUpdated", acFormatXLS, "", _
, , "This is a Test", , False

Open in new window

Question by:Alfredo17
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
LVL 84

Accepted Solution

Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 24368867
Are you referring to the security warning? If so, you can use ClickYes to get around this:

LVL 84

Assisted Solution

by:Scott McDaniel (Microsoft Access MVP - EE MVE )
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 24370644
You can also use other methods to send your email (like CDO), or use the Redemption library, which can bypass those warnings
LVL 18

Expert Comment

ID: 24374014
Hi Alfredo,

You didn't mention the version of Office that you're working in, but I think in this instance it really doesn't matter. It appears that your email has been bitten by Microsoft Security. There are several ways to fix this but the simpkle quick and dirty way is to install

There are several other methods, all better but also more difficult.


LVL 18

Expert Comment

ID: 24374029
Sorry, didn't mean to seem redundant. I left this window open on yesterday afternoon and just came back to it.

Author Comment

ID: 24858546
I still do not get any right solution of how to use
I am using Access database Version 2003 and 2007
DoCmd.SendObject acSendTable, "RE_LastUpdated", acFormatXLS, "", _
, , "This is a Test", , False

This line work OK only problem is that I have to click OK to finish the process. I would like to know if some of you have an step by step solution. Many of you very kind try to solve but it is not so helpfull for me.
Could you please, give some right solution, I will appreciate.
Thank very much.

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

710 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