Getting MeetingResponseStatus for a DL

M

melon

Suppose I have a MeetingItem. MeetingItem.Recipients contains 1
member, and it is a DL.

I can extract individual members of the DL using AddressEntry.Member.
However, AddressEntry does not contain MeetingResponseStatus.

Is it possible to obtain the MeetingResponseStatus for each recipient
in the DL? Do I need to do something like

1) Extract AddressEntry from the DL.
2) Add all AddressEntry to the Recipients list
3) Removed the DL from Recipient.
4) Obtain MeetingresponseStatus from each Recipient
 
K

Ken Slovak - [MVP - Outlook]

You can extract individual members from a DistListItem object by using the
GetMember() method, which returns a Recipient object. Why not just use the
Recipient.MeetingResponseStatus property?
 
M

melon

You can extract individual members from a DistListItem object by using the
GetMember() method, which returns a Recipient object. Why not just use the
Recipient.MeetingResponseStatus property?

--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm


Suppose I have a MeetingItem. MeetingItem.Recipients contains 1
member, and it is a DL.
I can extract individual members of the DL using AddressEntry.Member.
However, AddressEntry does not contain MeetingResponseStatus.
Is it possible to obtain the MeetingResponseStatus for each recipient
in the DL? Do I need to do something like
1) Extract AddressEntry from the DL.
2) Add all AddressEntry to the Recipients list
3) Removed the DL from Recipient.
4) Obtain MeetingresponseStatus from each Recipient

ow do you get DistItem from AppointmentItem?
 
K

Ken Slovak - [MVP - Outlook]

You don't get a DistListItem from an appointment, you get it from the
Recipient object. In this case Recipient.AddressEntry.DisplayType will be 5
(ololPrivateDistList). If you see that you know you are dealing with a DL.

Get the AddressEntry.Name property and use that to find the DL in your
contacts. Once you have the DL as a DistListItem you can then use
GetMember() to retrieve each DL member in turn and each one you retrieve
will be a Recipient object, from which you can then retrieve
MeetingResponseStatus.
 
Top