将MS Exchange和PHP与ExchangeWebServices链接?
我目前正在学习计算机科学,根据我的工作经验,我的工作导师建议我通过PHP网站(由我实现)向我的导师Microsoft EXCHANGE agenda发送约会请求。 不幸的是我不知道怎么做。。。。 我在PHP、HTML和CSS方面有很好的知识,但我完全不懂Microsoft Exchange,因为直到我的工作导师问我这个项目,我才真正了解Microsoft project 我的代码(文件:test.php): 我现在不知道如何测试这个代码?我现在要问我的导师服务器/用户名/密码吗?还是我的代码好?我有什么改变吗?谢谢将MS Exchange和PHP与ExchangeWebServices链接?,php,exchange-server,exchangewebservices,php-ews,Php,Exchange Server,Exchangewebservices,Php Ews,我目前正在学习计算机科学,根据我的工作经验,我的工作导师建议我通过PHP网站(由我实现)向我的导师Microsoft EXCHANGE agenda发送约会请求。 不幸的是我不知道怎么做。。。。 我在PHP、HTML和CSS方面有很好的知识,但我完全不懂Microsoft Exchange,因为直到我的工作导师问我这个项目,我才真正了解Microsoft project 我的代码(文件:test.php): 我现在不知道如何测试这个代码?我现在要问我的导师服务器/用户名/密码吗?还是我的代码好?
编辑2:我可以在哪一行添加此代码/ 通过PHP访问EWS有很多API:
ExchangeWebServices.php
编辑2:
您并没有真正查询EWS。您构建查询,但不执行代码。当然,查询时需要帐户数据
$response = $ews->FindItem($request);
天哪,这是什么级别的工作经验?!疯狂。。你的w/e导师需要叫醒电话。明天生日快乐为什么对我的lvl来说太难了吗?:/谢谢兄弟!请编辑您的问题并提供更多详细信息。您已经拥有的相关代码部分,以及您得到的结果/错误消息。
object(EWSType_FindItemType)[2]
public 'CalendarView' =>
object(EWSType_CalendarViewType)[4]
public 'EndDate' => string '2015-06-22T02:00:00+02:00' (length=25)
public 'MaxEntriesReturned' => null
public 'StartDate' => string '2015-06-20T02:00:00+02:00' (length=25)
public 'ContactsView' => null
public 'DistinguishedGroupBy' => null
public 'FractionalPageItemView' => null
public 'GroupBy' => null
public 'IndexedPageItemView' => null
public 'ItemShape' =>
object(EWSType_ItemResponseShapeType)[3]
public 'AdditionalProperties' => null
public 'BaseShape' => string 'Default' (length=7)
public 'BodyType' => null
public 'ConvertHtmlCodePageToUTF8' => null
public 'FilterHtmlContent' => null
public 'IncludeMimeContent' => null
public 'ParentFolderIds' =>
object(EWSType_NonEmptyArrayOfBaseFolderIdsType)[5]
public 'DistinguishedFolderId' =>
object(EWSType_DistinguishedFolderIdType)[6]
public 'ChangeKey' => null
public 'Id' => string 'calendar' (length=8)
public 'Mailbox' => null
public 'FolderId' => null
public 'QueryString' => null
public 'Restriction' => null
public 'SortOrder' => null
public 'Traversal' => string 'Shallow' (length=7)
$response = $ews->FindItem($request);