1

使用 php-ews:https ://github.com/jamesiarmes/php-ews

根据此示例,我可以从我自己的日历中列出事件:https://github.com/jamesiarmes/php-ews/wiki/Calendar:-Get-List-(Retrieving-Id-and-ChangeKey)但之后寻找解决方案几个小时我仍然无法找到访问共享日历的方法。

这个问题类似,但没有答案:EWS:访问共享日历

通过查看该搜索结果和其他各种搜索结果(我在 Google 上搜索了“ews 共享日历”的许多变体),我必须找到共享日历的位置,获取 ID,然后使用它。但我无法做到这一点。任何人都可以帮忙吗?

4

1 回答 1

1

仅查看“日历文件夹”下的代码块中,添加此内容以便从 email@address.com 的日历中检索事件:

$request->ParentFolderIds->DistinguishedFolderId->Mailbox = new StdClass;
$request->ParentFolderIds->DistinguishedFolderId->Mailbox->EmailAddress = 'email@address.com';
于 2014-11-12T11:20:18.423 回答