Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Wed, 3 May 2006 11:25:03 +0100,    group: microsoft.public.exchange2000.development        back       


How do you open member of an OWA personal distribution list using MAPI?   
I am trying to expand OWA personal distribution lists in a server 
environment, using C++.

The server process runs in an admin account with a mailbox and although I 
can use HrMailboxLogon to get an LPMDB pointer to the user's mailbox, it 
does not give access to the user's address book.

However, from the recipient table for a message that is being sent, I can 
identify a PDL and 'extract' a portion of the PR_ENTRY_ID which allows me to 
open the PDL by calling OpenEntry on the user's mailbox LPMDB pointer.

From there I can see the named property "Members" (ID: 0x8055, Type: 
MNID_ID) which contains a PT_MV_BINARY value.
I can also iterate through the SBinaryArray and extract each "entryID" (I 
assume that's what it is), but I can't open it with any of the interface 
pointers available to me.

What are these "entryIDs" and does anybody know what to do with them?

(They look suspiciously like CDOEX addressees, but I don't think I want to 
use CDO/CDOEX because I am not sure I will be able to get at all the 
recipient properties I need, such as PR_EMS_AB_TARGET_ADDRESS and 
PR_EMS_AB_PROXY_ADDRESSES.)

Thanks in anticipation,
MikeC
date: Wed, 3 May 2006 11:25:03 +0100   author:   Mike

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us