View Single Post
  #2  
Old September 25th 06, 10:18 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How can I send mail using VBA without security warnings

See http://www.outlookcode.com/d/sec.htm for your options with regard to the "object model guard" security in Outlook 2000 SP2 and later versions.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Gvaram" wrote in message ...
I'd like to make connection from Excel to Outlook using VBA - create new mail
and send it.
I did it, but before sending the mail, there always appear security warning
like "A program is trying to automatically send e-mail on your behalf ......"
and it needs someone to click "Yes" after about 5-6 seconds.
Please, help: is there any method to override this problem and send mail
automatically without any confirmations? If yes, how can i do it?

Ads