![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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(); -------------- Regards Lars |
Ads |
#2
|
|||
|
|||
![]()
Lars wrote:
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. After a lot of trial and error I think I found it out on my own: the trick is to re-read the calendar folder after you have saved the updated appointment item. Then when you have read the updated appointment item back from outlook/exhange you can do appointment.Send(), and it is sent to the relevant recipients. Lars |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding and Deleting attendees | donna | Outlook - Calandaring | 2 | October 2nd 06 08:16 PM |
Can I change meeting organizer on existing recurring appointment? | Deb Cotter | Outlook - Calandaring | 0 | July 19th 06 04:41 PM |
How to invite NEW attendees to an appointment? | MTT | Outlook - Calandaring | 0 | June 20th 06 08:45 PM |
Adding a Member (existing in GAL) to a Public Distribution List in | K.N.Ganesh. | Outlook and VBA | 1 | May 23rd 06 08:25 PM |
Meeting appointment missing attendees ?! | groovin.penguin | Outlook - Calandaring | 0 | March 29th 06 11:43 PM |