我正在尝试通过 R 中的脚本在 Outlook 中预订定期会议,我将每周批量运行该脚本。由于房间价格昂贵,我们目前不允许预订定期会议。我已经使用 RDCOMClient 发送自动电子邮件,所以我认为可能有一种方法可以使用该软件包来完成它。我查看了 Stack Overflow 和文档,还没有找到任何具体的内容。我想它看起来像这样:
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()
关于这是否以及如何工作的任何想法?