I am generating Outlook invites using EWS CreateItem function using NodeJS EWS lib. I am using Exchange 2013. When I generate the invite it shows in the receipients Outllook Inbox and calendar. But when they reject the invitation from the email, the request still shows in their calendar and they manually have to delete that by navigating to calendar.
How to remove that. Do I have to handle some event for the same.
The JSON argument passed to CreateItem function is:
var ewsArgs = {
"attributes": {
"SendMeetingInvitations": "SendOnlyToAll"
},
"Items": {
"CalendarItem": {
"Subject": "Test Meeting: Please ignore",
"Body": {
"attributes": {
"BodyType": "Text"
},
"$value": "This is test meeting generated programatically using Node and Microsoft Exchange Web Service."
},
"ReminderMinutesBeforeStart": "15",
"Start": "2020-06-15T21:30:00.000",
"End": "2020-06-15T21:45:00.000",
"Location": "Desk",
"t:RequiredAttendees": {
"t:Attendee": {
"t:Mailbox": {
"EmailAddress": "akshay@myoutlook.com"
}
}
}
}
}
};
The documentation at: https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/createitem-operation
says: "The CreateItem operation supports the use of response objects. Response objects support the acceptance and rejection of meetings and the handling of voting buttons that are included in a standard e-mail message."
I am generating Outlook invites using EWS CreateItem function using NodeJS EWS lib. I am using Exchange 2013. When I generate the invite it shows in the receipients Outllook Inbox and calendar. But when they reject the invitation from the email, the request still shows in their calendar and they manually have to delete that by navigating to calendar.
How to remove that. Do I have to handle some event for the same.
The JSON argument passed to CreateItem function is:
var ewsArgs = { "attributes": { "SendMeetingInvitations": "SendOnlyToAll" }, "Items": { "CalendarItem": { "Subject": "Test Meeting: Please ignore", "Body": { "attributes": { "BodyType": "Text" }, "$value": "This is test meeting generated programatically using Node and Microsoft Exchange Web Service." }, "ReminderMinutesBeforeStart": "15", "Start": "2020-06-15T21:30:00.000", "End": "2020-06-15T21:45:00.000", "Location": "Desk", "t:RequiredAttendees": { "t:Attendee": { "t:Mailbox": { "EmailAddress": "akshay@myoutlook.com" } } } } } }; The documentation at: https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/createitem-operation
says: "The CreateItem operation supports the use of response objects. Response objects support the acceptance and rejection of meetings and the handling of voting buttons that are included in a standard e-mail message."
But I am not getting how to do that.