CDO objects-GetAddressList property

Results 1 to 2 of 2

Thread: CDO objects-GetAddressList property

  1. #1
    Join Date
    Dec 1969

    Default CDO objects-GetAddressList property

    Hi All,<BR>Using CDO objects to retrieve addresses from GAL i am getting error on my asp page. PLease anyone help me out to resolve this<BR><BR>&#060;%<BR>dim objSession<BR>public const CdoAddressListGAL =0 <BR><BR>strProfileInfo= "Exchange Server Name" & chr(10) & "Mailbox alias name"<BR><BR>Set objSession= CreateObject("MAPI.Session")<BR> objSession.Logon " "," ",False,false, 0, True, strProfileInfo<BR><BR>Set objAddressList = objSession.GetAddressList(0)<BR><BR>&#039; Get address entries of the global address list<BR>Set objAddressEntries = objAddressList.AddressEntries<BR><BR>&#039; Loop through the address entries collection<BR>For Each objAddressEntry In objAddressEntries<BR> Response.Write objAddressEntry.Name<BR>Next<BR><BR><BR> objSession.logout<BR> set objSession=nothing<BR>%&#062;<BR><BR>Error is below :<BR>Collaboration Data Objects error &#039;000043ed&#039; <BR><BR>[Collaboration Data Objects - [E_FAIL(80004005)]] <BR><BR>Thanks <BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default Google says

    use me and find your answer in 2 seconds. ; )<BR><BR><BR><BR>Seriously, try looking up your error next time, its not that difficult ; )<BR><BR>Pete

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts