[英]Is it possible to get Microsoft Exchange Online Transport Rules (Email server-side rules) and apply them locally to my Outlook desktop messages?
I am trying to write an Add-in to Outlook 2016 and I want server-side rules (Transport rules, aka Mail Workflow) to be applied to my Outlook email locally not on Exchange online. 我正在尝试向Outlook 2016中编写一个加载项,并且希望将服务器端规则(传输规则,又名邮件工作流)应用于本地Outlook电子邮件,而不是在Exchange Online上。 The concept of My my Add-In is next: download server-side rules , apply to an email and send it.
接下来是“我的我的加载项”的概念:下载服务器端规则,将其应用于电子邮件并发送。 The maximum I have achieved was connecting to Exchange Online server and using Get methods in PowerShell to download server rules.
我获得的最大成就是连接到Exchange Online服务器并在PowerShell中使用Get方法下载服务器规则。 I did not find related API only old VBA Outlook 2007 Is there any API to do so?
我没有找到仅旧的VBA Outlook 2007相关的API是否有这样做的API? Are there any other ways to do so?
还有其他方法吗?
AFAIK there are no automated ways to convert or export transport rules to client/Outlook rules. AFAIK没有自动方法可以将传输规则转换或导出为客户端/ Outlook规则。 However, the Outlook Object Model (OOM) has good support for creating and managing Outlook rules via VBA, a COM add-in or a custom desktop application using OOM.
但是,Outlook对象模型(OOM)对通过VBA,COM加载项或使用OOM的自定义桌面应用程序创建和管理Outlook规则提供了很好的支持。 The actions and conditions may not be 100% identical but you should be able to convert the majority of rules.
动作和条件可能并不完全相同,但您应该能够转换大多数规则。 See: Managing Rules in the Outlook Object Model .
请参阅: 在Outlook对象模型中管理规则 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.