L
Lars
Hi,
I have a problem adding new attendees to an existing appointment using
outlook object model. Pointers to helpful information would be much
appreciated.
I have an existing appointment in Outlook 2007 (beta 2), which might
have any number of attendees. Now I want to add new attendees to the
appointment. The problem is that the new attendees don't receive their
invitation mails (MeetingItems). The new attendees do show up in the
organizer's calendar (that is: I can see the new attendees that I have
added). But the new attendees have no way of accepting/declining the
meeting.
First i get the Appointment object (called appointment below). Then the
c# code below is run to add new guys to the appointment (error checking
etc is left out for brevity).
-------------
//Add a new participant
Outlook.Recipient participant =
appointment.Recipients.Add(newParticipantName);
participant.Type = (int) Outlook.OlMeetingRecipientType.olOptional;
appointment.Recipients.ResolveAll()
//Send out meeting invitation:
//appointment.Save();
appointment.Send();
I have a problem adding new attendees to an existing appointment using
outlook object model. Pointers to helpful information would be much
appreciated.
I have an existing appointment in Outlook 2007 (beta 2), which might
have any number of attendees. Now I want to add new attendees to the
appointment. The problem is that the new attendees don't receive their
invitation mails (MeetingItems). The new attendees do show up in the
organizer's calendar (that is: I can see the new attendees that I have
added). But the new attendees have no way of accepting/declining the
meeting.
First i get the Appointment object (called appointment below). Then the
c# code below is run to add new guys to the appointment (error checking
etc is left out for brevity).
-------------
//Add a new participant
Outlook.Recipient participant =
appointment.Recipients.Add(newParticipantName);
participant.Type = (int) Outlook.OlMeetingRecipientType.olOptional;
appointment.Recipients.ResolveAll()
//Send out meeting invitation:
//appointment.Save();
appointment.Send();