Creating E2k Mailbox with Directory Services

Source: Internet
Author: User
How to To:create a mailbox-enabled recipient by Using C #. NET
The information in this article applies to:
Microsoft Visual C #. NET (2002)
Microsoft collaboration Data Objects for Exchange Management (CDOEXM)
Microsoft Exchange Server
Microsoft Exchange Enterprise Server
Microsoft Active Directory Client Extension
Microsoft Active Directory Services Interface, System Component
This is article was previously published under Q313114
In the This TASK
SUMMARY
Requirements
Create a New C # program
Code Description
Create a New DirectoryEntry
Set Properties on the New User
Create a New Mailbox
Troubleshooting
REFERENCES
SUMMARY
This step-by-step article describes you to create a mailbox-enabled user with the System.DirectoryServices namespace and C Do for Exchange Management (CDOEXM).
Back to the top
Requirements
The following list outlines the recommended hardware, software, network infrastructure, and service packs that are D:
A Microsoft Windows 2000-based domain with Exchange installed
Visual C #. NET
Microsoft Exchange System Management Tools on the computer to which this code runs
Back to the top
Create a New C # program
In Visual C #. NET, create a new C # console program This is named Mbtest.
In Solution Explorer, right-click References, and then click Add Reference.
On the. NET tab, add a project reference to System.DirectoryServices.
On the COM tab, add a reference to Microsoft CDO for Exchange Management.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.