在 Outlook 中使用 vsto,如何触发新邮件 toast/警报?
环境: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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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.