In addition to the comments above, if your Outlook client accesses an Exchange server, then the security settings for programmatic access to the mailbox and addresslist can be controlled by your Exchange Administrator.
in reply to --force Outlook to allow perl script access to my mail
For further information about WHAT is happending, refer to OL2002: Add-in or Custom Solution Causes a Warning to Appear.
For what an Exchange admin can do about it, refer to OL2002: Administrator Information About E-Mail Security Features.
I have a number of automated reporting systems that generate output in various formats, one of which is attachments in Outlook e-mail messages, and the simplest solution, from my point of view (programming), was to implement the custom security settings referenced in the above articles. I have used this solution for months and have found them to work perfectly.