如何使用C#处理Outlook中的安全弹出窗口 [英] How to handle security pop-up in outlook using C#

查看:71
本文介绍了如何使用C#处理Outlook中的安全弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Microsoft.Office.Interop.Outlook自动化Outlook时,显示一个安全弹出窗口,提示程序正在尝试访问电子邮件文件夹....".

While Automating Outlook using Microsoft.Office.Interop.Outlook a security pop-u is getting displayed saying "A program is trying to access a email folders.......".

请帮助我们如何在不使用兑换"或更改安全设置(无访问权限)的情况下使用C#绕过/解决问题.

Please help how can we bypass/solve using C# without using 'Redemption' or by changing the security settings(do not have access).

P.S:我们可以使用JavaScript执行程序来接受警报框吗?预先感谢

P.S: could we use JavaScript executer to accept the alert box? Thanks in advance

推荐答案

如果您不想使用兑换或ClickYes之类的实用程序,您唯一的选择是安装最新的防病毒应用程序(如果您可以控制代码运行的环境).

If you don't want to use Redemption or a utility like ClickYes, your only option is to install an up-to-date antivirus app (if you can control the environment where your code runs).

这篇关于如何使用C#处理Outlook中的安全弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆