Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook Item.Send

Status
Not open for further replies.

raa44634

Technical User
Dec 13, 2001
34
0
0
US
Using Access 2002, I'm generating a couple hundred reports that are to be emailed to company agents (controllers, etc.) every month-end. I've written the code in access to automate this process so that I don't have to manually perform each function; I can kick it off and go home for the evening.

In today's testing of DoCmd.SendObject if I set the 'Edit Message' arugument to false I get the following message from Outlook:

"A program is trying to send mail using Item.Send. A program is trying to automatically send e-mail using a Microsoft Outlook Visual Basic Application command, Item.Send. If you want to this program to send this e-mail, click yes."

Essentially, Outlook is halting my Access automation initiative.

Any words of wisdom of how to override Outlook?

Many Thx in adv!
- Tony -
 
As Microsoft says, it's not a bug, it's a feature. See thread605-761383.

Sawedoff

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top