列出邮箱(用户帐户) [英] Listing Mailboxes(user accounts)
问题描述
我在Exchange服务器上有一个管理员帐户。我需要从该详细信息中使用c#获取邮箱列表(用户帐户电子邮件地址)。 / p>
是否可以通过c#执行此操作。
任何人都可以为此提供任何参考链接。
提前致谢。
是的,这是可能的。您必须使用带有C#的Exchange Powershell类来实现exchange powershell 命令 Get-Mailbox。
Plz查看这些链接:
从托管代码调用Exchange命令行管理程序Cmdlet
http://msdn.microsoft.com/en-us/library/ ff326159.aspx
使用C#管理Exchange 2007收件人
< p style =""> http://knicksmith.blogspot.com/2007/03/managing-exchange-2007-recipients-with.html
示例代码:从.Net代码调用Exchange cmdlet
http://www.viveksharma.com/TECHLOG/ archive / 2006/07/27 / sample-code-calling-exchange-cmdlets-from-net-code.aspx
问候,
Hi,
I have a administrator account in the exchange server .I need to get the list of mailboxes(user account email addresses) using c# from that detail.
Is it possible to do this through c#.
Could anyone provide any reference link for this.
Thanks in Advance.
解决方案Yes it is possible. You have to implement exchange powershell command Get-Mailbox using Exchange Powershell classes with C#.
Plz have a look into these links:
Calling Exchange Management Shell Cmdlets from Managed Code
http://msdn.microsoft.com/en-us/library/ff326159.aspx
Managing Exchange 2007 Recipients with C#
http://knicksmith.blogspot.com/2007/03/managing-exchange-2007-recipients-with.html
Sample Code: Calling Exchange cmdlets from .Net code
http://www.viveksharma.com/TECHLOG/archive/2006/07/27/sample-code-calling-exchange-cmdlets-from-net-code.aspx
Regards,
这篇关于列出邮箱(用户帐户)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!