在 Outlook 中使用 vsto,如何触发新邮件 toast/警报?

发布于 2024-09-07 14:01:53 字数 146 浏览 9 评论 0原文

环境:VS 2010 | .net 3.5 | .net 3.5 2007 年展望 | VSTO 3

我有一个 Outlook 插件,它添加了新的消息类型(通过从 PostItem 继承)。我想在收到新邮件时触发 Outlook 新邮件提示/警报。有什么想法吗?

Env: VS 2010 | .net 3.5 | Outlook 2007 | VSTO 3

I have an outlook addin that adds a new message type (by inheriting from PostItem). I'd like to trigger the Outlook New Mail Toast/Alert when a new message comes in. Any ideas?

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

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

发布评论

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

评论(1

嘿嘿嘿 2024-09-14 14:01:53

Windows 中有一个 API 用于创建/使用您自己的“自定义”Toast 消息,但没有内置 API 用于控制 Outlook 附带的开箱即用 Toast 通知窗口的外观或频率。

当然,如果您向自己发送了一封电子邮件然后将其删除,您将触发 Toast,但是我很确定这不是您正在寻找的控制通知系统的机制。

There is an API in windows for creating/using your own "custom" toast messages, but no inbuilt API for controlling the appearance or frequency of the out of the box toast notification window that comes with Outlook.

Of cause if you sent an email to yourself and then deleted it, you would trigger the Toast, however I'm pretty sure this isn't the mechanism you were looking for to control the notification system.

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