PC Review


Reply
Thread Tools Rate Thread

Avoiding an Outlook message

 
 
Craig
Guest
Posts: n/a
 
      16th Apr 2010
Hi

I have an Access macro that sends a different Access report to many
different people on Outlook via a Send Object action within the Access macro.

Yet each time the Send Object action is taken during the Access macro run, I
get an Outlook message that states:

"A program is trying to send an e-mail message on your behalf. If this is
unexpected, click Deny...."

I have to click the "Allow" button for each report to be sent while the
macro runs...how can I avoid that and just have reports get sent via the Send
Object action without me having to click Allow?

thank you!

Craig

Note: I sent this also to Outlook VBA programming group and to Access Macro
group as I did not know what group was best to send to...my apologies if I
cross paths.
 
Reply With Quote
 
 
 
 
Brian Tillman [MVP-Outlook]
Guest
Posts: n/a
 
      17th Apr 2010
"Craig" <(E-Mail Removed)> wrote in message
news:E7886D91-143F-4129-9B30-(E-Mail Removed)...

> I have an Access macro that sends a different Access report to many
> different people on Outlook via a Send Object action within the Access
> macro.
>
> Yet each time the Send Object action is taken during the Access macro run, I
> get an Outlook message that states:
>
> "A program is trying to send an e-mail message on your behalf. If this is
> unexpected, click Deny...."
>
> I have to click the "Allow" button for each report to be sent while the
> macro runs...how can I avoid that and just have reports get sent via the
> Send
> Object action without me having to click Allow?


Here are your options with respect to the Outlook Object Model Guard:
http://www.outlookcode.com/article.aspx?id=52

Here's a tool that can help if you can't write the code properly:
http://www.mapilab.com/outlook/security/
--
Brian Tillman [MVP-Outlook]

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Avoiding Invalid Inquery Message Macro not running as intended Microsoft Excel Programming 0 16th Oct 2008 08:25 PM
Avoiding Error message (3314) when creating a new record Vicki Microsoft Access 4 7th Jul 2008 09:10 PM
Avoiding Value error message due to space in cell w/ formula =?Utf-8?B?QS5SLiBIdW50?= Microsoft Excel Misc 3 26th Jan 2007 09:52 PM
avoiding message warnings and otherconcerns anny Microsoft Excel Worksheet Functions 0 25th Jan 2006 05:44 PM
Avoiding error message 30014 for end user Michelle Vairo Microsoft Access Form Coding 8 26th Sep 2003 06:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:09 PM.