I am trying to book a recurring meeting in Outlook via a script in R which I will batch to run every week. We are not allowed to book recurring meetings at the moment since rooms are at a premium. I have used RDCOMClient to send automated emails so I am thinking there might be a way to do it with that package. I've looked through Stack Overflow and documentation and haven't found anything specific for this yet. I am thinking it would look something like this:
OutApp <- COMCreate("Outlook.Application")
outMeeting = OutApp$CreateItem(0)
outMeeting[["To"]] = paste("Person1@company.com","Person2@Company.com","Room1@Company.com", sep = ";", collapse = NULL)
outMeeting[["start"]] = strptime(2017/04/28 13:30, "%Y/%m/%d %H:%M")
outMeeting[["end"]] = strptime(2017/04/28 14:30, "%Y/%m/%d %H:%M")
outMeeting[["subject"]] = "Weekly Meeting"
outMeeting[["body"]] = "Hi Team,
Attached is the weekly meeting agenda.
Thanks,
Person 3"
outMeeting$Send()
Any thoughts on if and how this could work?