简体   繁体   中英

Creating mailboxes on Exchange 2010

I have a project on VS 2005 which was running fine with exchange 2003, now the customer migrated to 2010 and my app. is failing when tries to create mailbox.

My app. is console based and its running on windows 2003 and 2.0 .net framework. Exchange 2010 is running on a W2K8 and 3.5 framework.

I guess a good option would be to develop a webservice (with VS 2010 for example) but not sure if EWS is able create mailboxes.

I'd like to hear some advices on this matter.

Thanks in advance, m0dest0.

I don't think you can use EWS to create mailboxes. For that you should use powershell. You can run powershell scripts from your C# app, see this: http://www.codeproject.com/Articles/18229/How-to-run-PowerShell-scripts-from-C

So in your case I would Exchange Management Shell on the application server and write an application that creates mailboxes using powershell/EMS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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