Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   How to avoid an Outlook message that pops up (http://www.outlookbanter.com/outlook-vba/101909-how-avoid-outlook-message-pops.html)

Craig April 16th 10 10:21 PM

How to avoid an Outlook message that pops up
 
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

Dmitry Streblechenko April 16th 10 11:27 PM

How to avoid an Outlook message that pops up
 
See http://outlookcode.com/article.aspx?id=52

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Craig" wrote in message
...
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





All times are GMT +1. The time now is 05:07 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com