Nope it's a secret. Don't mention a word of this to anyone.

-----Original Message-----
From: Tom Meunier [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 22, 2002 7:05 PM
To: Exchange Discussions
Subject: RE: Found out how to create an exchange mailbox!
Sensitivity: Confidential

So we shouldn't tell anyone about this, just the 4,000 of us, right?
Plus anyone who searches the archives on the internet, too.

-----Original Message-----
From: Robert WALKER [mailto:[EMAIL PROTECTED]] 
Posted At: Wednesday, May 22, 2002 5:56 PM
Posted To: MSExchange Mailing List
Conversation: Found out how to create an exchange mailbox!
Subject: Found out how to create an exchange mailbox!
Sensitivity: Confidential


Hi,

        I eventually worked out what I was doing wrong and have got it
        to work. That is creating a mailbox for exchange. Fairly Simple
        really.

        dim obj as iadscontainer
        dim mobj as cdoexm.imailboxstore

        set obj = getobject("LDAP://"; & Server & "/cn=" & UserName & _
                        "cn=users" & Domain ' as dc=x,dc=y,dc=z
        ' Your site as in x.y.z eg host.microsoft.com

        set mobj = obj ' overlay mailbox to user container.

        mobj.createmailbox "LDAP://cn=mailbox store (" & exServer & ")"
& _
                "cn=first storage group,cn=information store," & _
                "cn=" & exserver & ",cn=servers," & _
                "cn=first administration group,cn=administrative group,"
& _
                "cn=" & ExchangeOrganization & ",cn=microsoft exchange,"
& _
                "cn=services,cn=configuration," & Domain

        ' Exchange Organization appears in Exchange system managers
        ' Exchange Server is the targeted exchange box to create mailbox

        obj.setinfo ' write cached data back to active directory.

        set obj = nothing
        set mobj = nothing


        There you have it! Quite simple really.

Robert.



_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

Reply via email to