Search code examples
c#-4.0vstooutlook-addin

Change organizer of outlook AppointmentItem via VSTO


I am trying to create set of AppointmentItems from database in Outlook via an add-in I have developed.

I would like to be able to create AppointmentItems on another exchange account's calendar(I have the credentials of it). The organizer attribute of AppointmentItem is read-only, it did not help.

I was just wondering whether there is any way to achieve this. I am using Outlook 2010 and Visual Studi 2010

Many thanks for your help.

Regards


Solution

  • after some research, I have used Exchange Server Web Services api to impersonate another user and create appointments on behalf of that user.

    for more info: http://msdn.microsoft.com/en-us/library/dd637749%28v=exchg.80%29.aspx