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.
Note that your Outlook version number is a significant factor.

Signature
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
>I put some code together from various sources that sends an email
> automatically from outlook itself. However, it keeps poping up the security
[quoted text clipped - 5 lines]
>
> Mr.