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/
精彩评论