maatthias
asked on
How do I disable Outlook's warning messages?
How can I use VBA to disable the "security" warning messages I get when sending email in Outlook? The message I'm talking about it is the "A program is trying to access data from Outlook ..." etc.
Any ideas that are not the COM add-in "shims"?
Any ideas that are not the COM add-in "shims"?
ASKER
every time my VBA code executes a method in the MailItem object I get a warning message. here are all of them
when I do MailItem.SaveAs I get "A program is trying to access data from Outlook that may include address book information. Do you want to allow this? If this is unexpected, it may be a virus and you should choose "No." Allow access for "1 minute/2 minutes/5 minutes/10 minutes."
When I do Mailitem.Recipients.Add I get "A program is trying to access e-mail addresses you have stored in Outlook. Do you want to allow this? If this is unexpected, it may be a virus and you should choose "No." Allow access for "1 minute/2 minutes/5 minutes/10 minutes."
when I do MailItem.SaveAs I get "A program is trying to access data from Outlook that may include address book information. Do you want to allow this? If this is unexpected, it may be a virus and you should choose "No." Allow access for "1 minute/2 minutes/5 minutes/10 minutes."
When I do Mailitem.Recipients.Add I get "A program is trying to access e-mail addresses you have stored in Outlook. Do you want to allow this? If this is unexpected, it may be a virus and you should choose "No." Allow access for "1 minute/2 minutes/5 minutes/10 minutes."
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Redemption was the solution. Worked great. Thanks all.
http://support.microsoft.com/default.aspx?scid=KB;EN-US;293650
And this...
http://www.slipstick.com/outlook/esecup/admin.htm#level2
Not 100% sure which you are referring... If you're referring to outlook complaining about certain types of files that are being attached, the second link.
Can you tell me exactly the error message and exactly when it appears? Chances are you wont need VBA...