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