Adding attendees to Office 365 using Microsoft.Exchange.WebServices

跟風遠走 提交于 2019-12-12 01:09:43

问题


I am working on windows c# application. I am creating new calendar entries on Office 365 by using Microsoft.Exchange.WebServices When I add any attendee to calendar item and save to office 365, invitation to attendee is sent automatically. I dont want to send meeting req to attendees and want only to add them. Is there any way to do that?

ObjAppointment.RequiredAttendees.Add(p_calendarProperties.invitees);

Thanks in advance


回答1:


To avoid sending meeting request to attendees, specify the "SendToNone" SendInvitationsMode value when saving your appointment.

ObjAppointment.Save(SendInvitationsMode.SendToNone);

See Microsoft documentation: http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.sendinvitationsmode(v=exchg.80).aspx



来源:https://stackoverflow.com/questions/20699987/adding-attendees-to-office-365-using-microsoft-exchange-webservices

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!