简体   繁体   English

有什么方法可以将规则应用于 EWS 的历史电子邮件

[英]Is there any way apply the rules to history emails with EWS

Is there any way apply the rules to history emails with EWS?有什么方法可以将规则应用于 EWS 的历史电子邮件? When calling UpdateInboxRules (Create Rule) ,I want the rule to take effect immediately.调用UpdateInboxRules (Create Rule)时,我希望规则立即生效。

No you can't retrospectively apply a Rule using EWS (Like you can in Outlook) if you want to do that you need to create you own code to enumerate the messages and apply whatever logic is in the rule to messages.不,您不能使用 EWS 追溯应用规则(就像在 Outlook 中一样),如果您想要这样做,您需要创建自己的代码来枚举消息并将规则中的任何逻辑应用于消息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM