Hi
I want to list the contacts of a particular mailbox with CDO.
Currently I am able to list these with the code below.:
Set objFolder = objSession.GetDefaultFolder(5)
Set objMessages = objFolder.Messages
Set objFilter = objMessages.Filter
set objMessage =objMessages.Getfirst
if objMessage.Type = "IPM.Contact" then
Response.Write objMessage.Fields(CdoPR_DISPLAY_NAME).Value
End if
The question is can I use the getaddresslist method of the session object
that we use in GAL listings?
I tried
Set objPAB = objSession.GetAddressList(1)
Set objPAB = objPAB.AddressEntries
but not worked.
How can I access the PAB with this way?
Thanks in advance.
Murat