Problem when opening Outlook XP automatically...
Hi
Im busy with an application that automtically opens outlook and runs through all the messages in the inbox to save .pdf files to a specified folder.
My problem is that when I call my procedure to run outlook an message appears on the screen stating
"A program is trying to access e-mail addresses you have stored in outlook. Do you want to allow this? If this is unexpected then it may be a virus and you should choose no"
YOu then have the Yes with a time limit and No buttons. How can I stop this box from popping up every XX minutes? Is there a settings I can change or can it be done programatically?
Re: Problem when opening Outlook XP automatically...
No, you can not get around this programmatically. The security feature of Outlook is getting tighter and tighter
with each version. The .Body property is now on the list of protected properties and the .SaveAs is on
the list under protected methods. :(
You may want to look at re-writing it as a Trusted Outlook Add-In. This is the only way to get around it using the OOM.
This is the proper way to get around it. There are third party products that may seem to help, but they are reliant
upon Outlook not changing. So if the next version of Outlook adds more security then you need to re-write
your code again anyways :(