John, et.al.,
It appears that to do management of recipients on Exchange Server
will require using Microsoft COM and Microsoft ADSI; not just LDAP.
Micro$oft embraced and extended LDAP, so that LDAP is a 2nd class
protocol that can't do everything. You have to do things the M$
way on M$ products using M$ protocols.
Freedom to "innovate."
:(
That's real interoperable, eh!
-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-
FROM: http://msdn.microsoft.com/library/psdk/adsi/ds2exchgd_9h84.htm
Creating a Custom Recipient
Dim strDisplayname As String
Dim strAlias As String
Dim strTelephone As String
Dim objCont As IADsContainer
Dim objNewCR As IADs
strDisplayname = "James Smith"
strAlias = "jsmith"
strTelephone = "867-5309"
Set objCont = GetObject("LDAP://Server/cn=Recipients,ou=Site,o=Org")
Set objNewCR = objCont.Create("Remote-Address", CStr("cn=" &
stralias))
objNewCR.Put "cn", CStr(strdisplayname)
objNewCR.Put "uid", CStr(stralias)
objNewCR.Put "telephoneNumber", CStr(strtelephone)
objNewCR.Put "Target-Address", "SMTP:[EMAIL PROTECTED]"
objNewCR.SetInfo
Note: This example is specific to Exchange Server version 5.5 and
earlier, and is not upwardly compatible with Exchange 6.0. Management
and access of Exchange 6.0 Servers should be made through the
CDOEXM interfaces instead.
-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-
-----Original Message-----
Sent: Monday, May 21, 2001 12:26 PM
To: [EMAIL PROTECTED]
Cc: 'JayAchTee'; '[EMAIL PROTECTED]'
Subject: LDAP and M$ Exchange 5.5
Thanks for this tip! I ran some queries on
the Microsoft Support Knowledge Base for
Exchange 5.5, but found NO information or
examples of how to use LDAP with Exchange to
do what you say.
Would you point me to a URL, or what keywords
to search on, or towards some resources which
provide more information - regarding this?
i.e. how to use LDAP to manage recipients on
the Exchange server..
sinc,
md
> -----Original Message-----
> From: JayAchTee [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 21, 2001 7:01 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] Exchange
>
>
> If you are running Exchange Server 5.5 SP 3+, then you can use LDAP to
> manage recipients on the Exchange server. The Microsoft
> knowledge base has
> several examples of how to use LDAP with Exchange.
>
> Regards.
>
> ""oifik"" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I would like to know if with php we can manage exchange
> server (create
> > account...) by using the imap librairies and if yes
> > how we can doing it ?
> > I can connect to my server (pop or imap), i can check mail
> but it's all.
> > Tahnks and sor for my english.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]