mail vba excel

F

flek

hey at all,
i am programming in VBA and i create a macro to send attachments
automatically to my friends. Macro work on but Outlook give me the
following message:
"A program is trying to automatically send e-mail on your computer
behalf. Do you want to allow this?"
At this point i am forced to click on yes and the mail has been sent
correclty.
IT is possible to avoid this "problem" from outlook?

thank s in advance
 
S

Sue Mosher [MVP-Outlook]

This "problem," as you describe it, is a security feature that has prevented Outlook from being the vehicle for spreading viruses. 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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top