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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't send an email from Access to Outlook

Status
Not open for further replies.

laprog

Programmer
Aug 6, 2003
10
CA
Hi everyone,
Here is my code line:
DoCmd.SendObject , , , strToDefault, , , "Permis de conduire invalide", Me.txtMessage, 0

When it's executed, il does open Outlook, my email is there but I get an Outlook warning saying...another application is trying to send an email, and asks me to autorise. If i don't autorise it cancels my "Send Object"....

How do i get it to just send it without that security mesure.

I am using Access and Windows 2000.

Thanks!
 
Do a google search for outlook object model guard

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top