使用EWS创建邮箱 [英] Create Mailbox with EWS
问题描述
我们希望通过基于Web的管理界面拆分Exchange 2007 Server的管理。
ie
- 创建邮箱
- 删除邮箱等等。
如何通过Exchange Web服务执行此操作?其他API(如CDO,MAPI等)不建议在文档中使用,因为它们已被折旧。
是否有人知道旧版API在Exchange 2007下可用多长时间?我不喜欢在程序上花费大量工作
并在2年后重新编码。
真诚地
Alfred
你好,
是的,有一个Windows Powershell for Exchange 2007形式的界面。使用PowerShell,你可以
- 添加/删除/更新邮箱(或邮件帐户)
- 添加/删除/更新SMTP邮件域
< p align = left> - 添加/删除/更新邮件列表
- 添加/删除/更新公共文件夹
- 添加/删除/更新地址列表
等等。当您查看EMC时,您将了解EMC对Exchange 2007的每项任务都使用PowerShell Cmdlet。
.Net完全支持PowerShell,因为Microsoft提供了从.net代码运行PowerShell cmdlet的类。我有一个C#应用程序来管理使用Windows PowerShell类的Exchange邮箱。
有关详细信息,请参阅
http://knicksmith.blogspot.com/2007/03/managing-exchange-2007- recipients -with.html
http://forums.microsoft .com / TechNet / ShowPost.aspx?PostID = 3077642& SiteID = 17
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2102457&SiteID=17
http://msdn2.microsoft.com/en-us/library/bb332449.aspx
最好的问候,
Hi,
we would like to split Administration of our Exchange 2007 Server via a Web-based Administration Interface.
i.e
- create mailboxes
- delete mailboxes and so on.
How can I do this via Exchange Web Service ?? The other APIs like CDO, MAPI etc. are not recommended in the docs as they are depreciated.
Does anybody know how long the old APIs will be available under Exchange 2007 'cause I don't like to spend much work
on a programm and recode it 2 years later.
sincerely
Alfred
Hi there,
Yes there is an interface in the form of Windows Powershell for Exchange 2007. Using PowerShell you can
- add/remove/update mailboxes (or mail account)
- add/remove/update SMTP Mail Domains
- add/remove/update Mail Lists
- add/remove/update Public Folders
- add/remove/update Address Lists
and many more. When You look into EMC, you will know that EMC uses PowerShell Cmdlets for each and every task for Exchange 2007.
PowerShell is fully supported with .Net as Microsoft provided classes to run PowerShell cmdlets from the .net code. I have a C# application to manage Exchange mailboxes using Windows PowerShell classes.
See for more reference
http://knicksmith.blogspot.com/2007/03/managing-exchange-2007-recipients-with.html
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=3077642&SiteID=17
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2102457&SiteID=17
http://msdn2.microsoft.com/en-us/library/bb332449.aspx
best regards,
这篇关于使用EWS创建邮箱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!