When trying to post an event into an Outlook calendar, with the following code:
Office365Outlook.V4CalendarPostItem(
_myCalendarName, // calendar
GalleryReason.Selected.Title, // subject
_startTime, // start
_endTime, // end
"(UTC) Coordinated Universal Time", // time zone
{RequiredAttendees: _myBoss.Mail, //
Body: TextInput1.Text,
// Location: _selectedRoom.Name,
Importance: "Normal",
ShowAs: "Busy",
IsAllDay: false, //CheckboxAllDay_1.Value,
isReminderOn: false,
ResponseRequested: true}
);
The event:
- is always booked as All day, even when it is not
- always ends one day before _endTime
- does not request a response from _myBosss.Mail
- the importance is always set to "Low"
Can anyone please explain what am I doing wrong?
Thank you