Answered by:
Outlook 2010 address book prompt out hen trusted program try to send email through Outlook 2010

Question
-
Dear all,
My program will send email through Outlook 2010(in cache mode). Sometime it may prompt the address book out and pend here, and we need to manually click "OK" to let the program run again. Although we re-write the program in Java and send by JavaMail now, but we are interested why the address book will prompt out.
There are no pattern that we can guess the reason. Different recipient, different subject/content/have attachment or not can casue the address book prompt. But same email with same content/everythings may not cause prompt before and/or after.
We try to change to offline address book and need manual sync, problem still occur.
Just for interest~
Cyrus
[Sorry that MSDN not allow me to upload the cap screen :( ]
Thursday, April 16, 2015 1:20 AM
Answers
-
Firstly, there is no such thing as a "trusted program" to Outlook. It only trusts COM addins, all other applications will cause a security prompt unless you have an up-to-date anti-virus app installed (if you can control the client environment).
See http://www.outlookcode.com/article.aspx?id=52 for the list of your options. Essentially it is either installing an antivirus product or using a library such as Redemption (accessible from Java) or a utility such as ExpressClickYes.
Dmitry Streblechenko (MVP) http://www.dimastr.com/redemption
Redemption - what the Outlook
Object Model should have been
Version 5.5 is now available!- Proposed as answer by Starian chenMicrosoft contingent staff Friday, April 24, 2015 9:33 AM
- Marked as answer by Fei XueMicrosoft employee Friday, April 24, 2015 9:50 AM
Thursday, April 16, 2015 3:15 AM -
Hello Cyrus,
> Sorry that MSDN not allow me to upload the cap screen :(
You need to verify your account to post images. See the Verify Your Account forum thread for more information.
Most probably you get a standard security prompt in Outlook described in the Outlook "Object Model Guard" Security Issues for Developers article. There are following ways to avoid such prompts:
1. Use a low-level API (Extended MAPI) which doesn't generate security prompts (or any other third-party wrappers around that API, for example - Redemption).
2. Install an antivirus software with up to date databases.
3. Use the Security Manager component to suppress Outlook security prompts programmatically.
- Proposed as answer by Starian chenMicrosoft contingent staff Friday, April 24, 2015 9:33 AM
- Marked as answer by Fei XueMicrosoft employee Friday, April 24, 2015 9:50 AM
Thursday, April 16, 2015 9:48 AM
All replies
-
Firstly, there is no such thing as a "trusted program" to Outlook. It only trusts COM addins, all other applications will cause a security prompt unless you have an up-to-date anti-virus app installed (if you can control the client environment).
See http://www.outlookcode.com/article.aspx?id=52 for the list of your options. Essentially it is either installing an antivirus product or using a library such as Redemption (accessible from Java) or a utility such as ExpressClickYes.
Dmitry Streblechenko (MVP) http://www.dimastr.com/redemption
Redemption - what the Outlook
Object Model should have been
Version 5.5 is now available!- Proposed as answer by Starian chenMicrosoft contingent staff Friday, April 24, 2015 9:33 AM
- Marked as answer by Fei XueMicrosoft employee Friday, April 24, 2015 9:50 AM
Thursday, April 16, 2015 3:15 AM -
Hello Cyrus,
> Sorry that MSDN not allow me to upload the cap screen :(
You need to verify your account to post images. See the Verify Your Account forum thread for more information.
Most probably you get a standard security prompt in Outlook described in the Outlook "Object Model Guard" Security Issues for Developers article. There are following ways to avoid such prompts:
1. Use a low-level API (Extended MAPI) which doesn't generate security prompts (or any other third-party wrappers around that API, for example - Redemption).
2. Install an antivirus software with up to date databases.
3. Use the Security Manager component to suppress Outlook security prompts programmatically.
- Proposed as answer by Starian chenMicrosoft contingent staff Friday, April 24, 2015 9:33 AM
- Marked as answer by Fei XueMicrosoft employee Friday, April 24, 2015 9:50 AM
Thursday, April 16, 2015 9:48 AM