以编程方式检查 Outlook 并将其注册为默认邮件客户端

发布于 2024-08-11 02:27:20 字数 214 浏览 3 评论 0原文

我正在为 Outlook 开发 VSTO 插件。该插件的一部分是首次启动后出现的欢迎屏幕,在此屏幕上我想检查 Outlook 是否是默认邮件客户端,以及是否不为用户提供将其设置为默认客户端的功能。我知道这可以在 Outlook 的工具/选项菜单中完成,但我真的很想将其作为我的应用程序的一部分。有谁知道该怎么做? VSTO 中是否有任何类/属性可以帮助我解决这个问题,或者我应该编辑注册表设置,如果是的话,是哪些。

I'm developing a VSTO add-in for outlook. One part of this addin is a welcome screen that appears after first launch and on this screen I want to check if Outlook is a default mail client and if it's not provide users with the ability to set it as a default client. I know this can be done in Outlook's Tools/Options menu but I really would like to do that as a part of my app. Does anyone knows how to do that? Are there any classes/properties in VSTO that could help me with that or should I just edit registry settings and if so which ones are those.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

帅气尐潴 2024-08-18 02:27:20

您需要更改注册表中的每用户邮件接收设置,请参阅 此处

You need to change the per-user mail-to setting in the registry, see e.g. here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文