通过查看该搜索结果和其他各种搜索结果(我已经搜索了"ews共享日历"的许多变体),我必须找到共享日历的位置,获取ID,然后使用该ID.但是我还没有做到这一点.有人可以帮忙吗?解决方案在下的代码块中,仅在"calendars文件夹"中查找,添加此内容以从email@address.com的事件中检索事件日历:$request->ParentFolderIds->DistinguishedFolderId->Mailbox = new StdClass;$request->ParentFolderIds->DistinguishedFolderId->Mailbox->EmailAddress = 'email@address.com';Using php-ews: https://github.com/jamesiarmes/php-ewsI'm able to list events from my own calendar according to this example: https://github.com/jamesiarmes/php-ews/wiki/Calendar:-Get-List-(Retrieving-Id-and-ChangeKey) But after searching for a solution for a few hours I still haven't been able to find a way to access shared calendars.This question is similar, but has no answer: EWS: Access shared calendarsFrom looking at that and various other search results (I've googled many variants of "ews shared calendar") I have to find the location of the shared calendar, get the id and then use that. But I haven't been able to do that. Can anyone help? 解决方案 In the code block under Only look in the "calendars folder" add this in order to retrieve events from email@address.com's calendar:$request->ParentFolderIds->DistinguishedFolderId->Mailbox = new StdClass;$request->ParentFolderIds->DistinguishedFolderId->Mailbox->EmailAddress = 'email@address.com'; 这篇关于php-ews:访问共享日历?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-17 01:18
查看更多