[问题]通过交换2007的powershell添加规则 [英] [Question] add rules via powershell of exchange 2007

查看:68
本文介绍了[问题]通过交换2007的powershell添加规则的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hellow。


如果我收到一封"性感"的电子邮件在主题中,将其移动到垃圾文件夹。


是否可以通过Exchange 2007的PowerShell添加用户邮箱规则?


如果是不可能这个方法,给我一些可能的方法PLZ。


我想通过c#开发。


谢谢。

解决方案

2007年,唯一可用于添加规则的API是使用OOM的MAPI
http://msdn.microsoft.com/en-us/library/bb208212.aspx
或者像Redemption / RDO这样的第三方库。这在2010 SP1中发生了变化,您现在可以使用EWS或Exchange命令行管理程序创建规则。


干杯

Glen


 


Hellow.

If i get an email that "sexy" is in the subject, move it into the Junk folder.

Does it possible add a user mailbox rules via powershell of exchange 2007?

If it impossible this method, give me some possible method plz.

I want to develp via c#.

Thanks.

解决方案

In 2007 the only API you can use to add rules is MAPI either using the OOM http://msdn.microsoft.com/en-us/library/bb208212.aspx or a third party library like Redemption/RDO. This has changed in 2010 SP1 where you can now use EWS or the Exchange Management Shell to create rules.

Cheers
Glen

 


这篇关于[问题]通过交换2007的powershell添加规则的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆