Outlook 自动化 - 安全警告
我知道这是这个问题的重复< /a>,但这是一年多前提出的。事情发生了变化,也许现在有“真正的答案” - 所以它来了;
在发送邮件时使用自动查找自动化(使用 Outlook 2007+)时,如何避免这些安全警告?
问候
编辑: 我检查了信任中心,它告诉我我的防病毒软件有效,并且安全设置设置为“当我的防病毒软件过期时提醒我”。但我不断收到那些烦人的弹出窗口。
此外,我必须补充一点,它已经习惯在没有消息框的情况下运行,但在我添加/修改一些配置文件后,弹出窗口开始。我没有更改任何代码!有什么想法吗?
第三方组件是一种选择,但我想尽可能避免它。
I know this is a duplicate of this Question, but it was asked over a year ago. Things changed and maybe there is "a real answer" nowerdays - so here it comes;
How to avoid those security warnings, when using autolook automation when sending mails (using outlook 2007+)?
Regards
EDIT:
I checked the Trust Center, it tells me that my Anti-Virus is valid and the setting for security is set to "alert me when my anti virus is out of date". But i keep getting those annoying Popups.
Further i have to add that it already used to run without the messagebox, but after i added/modified some profiles the popups began. I did NOT change any code! Any ideas?
A 3rd Party component is an option, but i would like to avoid it whenever possible.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
在 Outlook 2007 中,转到“工具”>“信任中心>编程访问并选择“从不”以关闭提示。
In Outlook 2007, go to Tools > Trust Center > Programmatic Access and select "Never" to turn off the prompt.
肯定有办法解决这个问题,方法是采用比 MSO 的传统 COM 自动化 API 更低的级别。这些人为您完成工作:http://www.add-in-express.com/
There are definitely ways around the problem by going at a lower level that the traditional COM Automation API for MSO. These guys do the work for you: http://www.add-in-express.com/
值得一试: Outlook 发送电子邮件无安全警告
Worth a check: Outlook Send E-mail Without Security Warning
仍然需要兑换
Still need Redemption
您可以使用 CDO 来实现。您可以检查 outlookcode 来了解您的问题。
编辑:
正如@mz224所说,你可以在2007年禁用它,但是如果你想在计算机上安装,那么这样做并不好,总而言之,我对此有很大的挑战,三年前,我没有找到2003年的任何好方法,2007 年是新的,请参阅这篇文章,有
Marshal.ReleaseComObject
的问题太多,自从 2007 年 Outlook 重新设计,并添加了对象模型
,很多事情变得更容易,但在 2007 年我没有测试上述解决方案。You can use CDO for it. and you can check outlookcode for your problem.
Edit:
As @mz224, said you can disable it in 2007, but if you want install in computers is not good to do this, In all I have a big challenge on it, three years ago, I didn't find any good way for 2003, and 2007 was new, see this article, there was too many problem with
Marshal.ReleaseComObject
, Since 2007 outlook redesigned, andObject model
added, many things became easier but In 2007 I didn't test above solution.