How to avoid an Outlook message that pops up

Status
Not open for further replies.
C

Craig

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
 
See http://outlookcode.com/article.aspx?id=52

Dmitry Streblechenko (MVP)

-

"Craig" <Craig> wrote in message

news:33FCCDF0-95B9-4E76-A60F-DCA03A13AB24@microsoft.com...
> 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
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
F Avoid sending duplicate using Outlook script Outlook VBA and Custom Forms 2
R How to configure outlook to avoid sending emails from the wrong account Using Outlook 24
R Hi, Ken, What should be noticed to avoid memory leak in outlook addin? Outlook VBA and Custom Forms 3
L How to avoid issues with "Send on Behalf" Using Outlook 3
C How to avoid sending mail to the wrong contact person Using Outlook 1
R How to avoid reminders from delegators' Calendars? Using Outlook 1
Y The New Outlook - Q's & Thoughts Using Outlook 3
M Start Outlook 365 at unified inbox Using Outlook 2
B Requesting VBA code to make Outlook prompt for confirmation when deleting a task? Outlook VBA and Custom Forms 3
T In-line reply style in Outlook II Outlook VBA and Custom Forms 1
G Outlook Contact Item.Restrict where FullName is NULL Outlook VBA and Custom Forms 3
J Emails with .ICS calendar invitations attached don't contents when received in Outlook 365 Using Outlook 6
W Outlook 2021 Hanging on "Sending Emails" Using Outlook 3
T Outlook Desk Top 2021 Overdoing Security Using Outlook 7
O Any 3rd party tool that sync (mirror) from Outlook Contacts to Google Contacts? Using Outlook 4
D Outlook 365 Outlook Message "Cannot be sent because the message has changed" Using Outlook 0
J Hotmail drafts started on desktop disappear, but show in web version of Outlook Using Outlook 4
Z Hotmail account deleted from outlook and issue with account not exist Using Outlook 0
J 'Name on the security certificate is invalid or...' - Outlook on desktop talking to hotmail.com account Using Outlook.com accounts in Outlook 5
J Outlook, Word, Access crash unless run in Admin mode - time dependent it seems Using Outlook 10
T Why do Outlook Desktop 2021 tasks from my wife's email show up in my task pane? Using Outlook 2
B Delete Read Receipts in Your Outlook Outlook VBA and Custom Forms 0
M Outlook changes the "Modified" field when moving/copying a Contact. Using Outlook 0
macdotcom Outlook 365 Outlook folder export to PST archival tool - close, but need a nudge Outlook VBA and Custom Forms 2
M Outlook 2016 still feature updating Using Outlook 0
e_a_g_l_e_p_i Question about Outlook 2021 and Gmail Using Outlook 8
J Outlook VBA to send from Non-default Account & Data Files Outlook VBA and Custom Forms 4
P Limited Support for 3rd Party Mail in new Outlook? Using Outlook 1
O Any 3rd party tool that sync (mirror) from Outlook Calendar to Google Calendar? Using Outlook 5
T Outlook is categorizing emails incorrectly Using Outlook 0
R Legacy Outlook on Mac Email Cache Using Outlook 0
A Outlook can't remember outlook.com, Exchange password. Using Outlook 4
S Related messages show in main Outlook window vice new Advanced Find windows Using Outlook 1
H Force Outlook 2019 with GMail 2-Step to Require Login? Using Outlook 0
G Retaining Tabs in outlook body Using Outlook 2
V Setting up Outlook 2021 on new computer Using Outlook 2
G Add Map It button to Custom Contacts Form in Outlook Outlook VBA and Custom Forms 1
X Custom icon (not from Office 365) for a macro in Outlook Outlook VBA and Custom Forms 1
Victor_50 Problem - Google Workspace will stop "unsafe" access to Outlook end 2024 Using Outlook 3
C New pc, new outlook, is it possible to import auto-complete emailaddress Using Outlook 4
T Outlook 365 won't take new working password Using Outlook 0
S Create Outlook Task from Template and append Body with Email Body Outlook VBA and Custom Forms 4
P Can't add custom field to custom Outlook form, it always adds to the Folder instead Outlook VBA and Custom Forms 2
B Sync Outlook Public Folders to Contacts Using Outlook 2
D Delete Outlook emails from MS server Using Outlook 17
B Outlook tasks and PDF Using Outlook 4
D Outlook 2019 is no longer asking for password ... Using Outlook 5
Kika Melo How to mark as Junk any message not from Contacts (in Outlook.com) Using Outlook 3
L Outlook attachments from OneDrive as links Using Outlook 0
G Outlook 365 My iCloud Outlook doesn’t work after reinstalling Microsoft365 on Windows 10 PC – now I get error message on contacts and calendar Using Outlook 1

Similar threads

Back
Top