Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Contacts / November 2004

Tip: Looking for answers? Try searching our database.

Extract contacts items object from the DistListItem Object

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
naloush - 23 Nov 2004 15:17 GMT
How do i get the contacts objects from the DistListItem object.
I tried the GetMember method but it recieve the recipient object and i need
the ContactItem object.
Thanks in advance for any help.
Ken Slovak - [MVP - Outlook] - 24 Nov 2004 15:18 GMT
The EntryID for a recipient object will encapsulate the contact EntryID. Use
OutlookSpy (www.dimastr.com) to examine both EntryID's for a recipient and
the related contact and see where those patterns are. Then just strip off
the rest of the recipient EntryID string and you have the EntryID for the
contact. In general you would strip off the left-most 25 characters from the
recipient EntryID and start with the 26 character to get your contact
EntryID.

Of course that wouldn't work for a one-off DL member but you can check the
OneOffMembers property, which is a PT_MV_BINARY property. You can see that
in OutlookSpy also. In fact, the Members property is also a PT_MV_BINARY in
MAPI terms.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> How do i get the contacts objects from the DistListItem object.
> I tried the GetMember method but it recieve the recipient object and i need
> the ContactItem object.
> Thanks in advance for any help.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.