开发者

Create Folders and rules in exchange server 2003

I would like to k开发者_运维知识库now How to Create Folders and rules in exchange server 2003 as i am using webdav code in c#. I have tried with few examples but not able to get it.


To create a folder, just issue a MKCOL request on the target url.

This is a small sample (withouth any error handling or so):

var request = WebRequest.Create("http://exchangeserver/exchange/username/NewFolder");
request.Method = "MKCOL";
request.UseDefaultCredentials = true;
request.GetResponse();

Regarding the rules. There is no good way to do this using WebDAV. You should check another technology, like Redemption. It can be used from .NET and offers the functionality you need.

Outlook Redemption: http://www.dimastr.com/redemption/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜