Last post Apr 25, 2005 04:53 PM by razorphreak
Apr 05, 2005 11:54 AM|coolislandsurf|LINK
i am trying to add users to active directory. So far, i have succeeded in creating a new user and setting its properites as follows. How do i create a mailbox account with quota limits for my new user???
I found this article online:
http://www.kbalertz.com/Feedback_313114.aspx However, when i add go to add reference for "CDO for Exchange Management (CDOEXM)", i only have the "CDO for Exchange 2000 Library" !!!
Please help. Many many thanks.
'now create user's mailbox account
Catch ex As System.Runtime.InteropServices.COMException
Apr 07, 2005 06:11 PMemail@example.com|LINK
Exchange co-exists with AD in an ad-hoc relationship.
As far as I know, mailboxes are stored in the Information Store along with their configurations.
I don't think it is possible via LDAP to modify or create a mailbox.
Keep in mind that Exchange existed before AD and in some respects has legacy elements.
Apr 08, 2005 08:23 AM|coolislandsurf|LINK
Thanks for this update. So, how would you go about creating mailboxes for users programmatically?
Apr 08, 2005 01:00 PMfirstname.lastname@example.org|LINK
I've never created mailboxes before, but with google and the search words: c# create mailbox
My first hit was this.
As I suspected, they are using COM to perform the actual creation.
Apr 08, 2005 01:33 PM|coolislandsurf|LINK
Thanks for your reply. I do have this article. However, i am using VB.NET. In Visual Studio, when i go to add a Reference for "On the
COM tab, add a reference to
Microsoft CDO for Exchange Management.", I do not have this option!!!
All I have is "CDO for Exchange 2000 Library" !!!" Do you know how i can get the
Microsoft CDO for Exchange Management."
Apr 08, 2005 06:57 PMemail@example.com|LINK
Did you install the Exchange Server Tools?
The following list outlines the recommended hardware, software, network infrastructure, and service packs that are required:
That fact that the sample is in c# is just a matter of translation to VB
Apr 11, 2005 05:47 PM|razorphreak|LINK
Apr 14, 2005 04:10 PM|coolislandsurf|LINK
Thank you for your response. You were right. cdoexm.dll exists only on the exchange server. I wrote a simple test program to create user mail acocunt and worked great!.
However, just out of curiosity, if i copy the cdoexm.dll to my local machine, will i then be able to reference it and use it in my prorgams.
Also, is that the best way to add such an API or what is the best way to add it so that visual studio will recognise it?
Apr 15, 2005 10:00 AM|razorphreak|LINK
Apr 15, 2005 03:26 PM|Hitskyn|LINK
Apr 15, 2005 03:47 PM|razorphreak|LINK
Apr 16, 2005 09:30 PM|coolislandsurf|LINK
So....what would you recommend to create mailboxes programmatically then???
Apr 25, 2005 04:53 PM|razorphreak|LINK