php-ews

php-ews: Access shared calendars?

醉酒当歌 提交于 2019-12-06 14:05:32
问题 Using php-ews: https://github.com/jamesiarmes/php-ews I'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 calendars From looking at that and various other search results (I've googled many variants of

Access another mailbox calendar events with PHP-EWS

泪湿孤枕 提交于 2019-12-06 08:11:31
In PHP-EWS library ( https://github.com/jamesiarmes/php-ews ) I can access the calendar events of a specific user using this code: https://github.com/jamesiarmes/php-ews/wiki/Calendar:-Get-List-(Retrieving-Id-and-ChangeKey) In all the library features we always use the authentication for a single user: $ews = new ExchangeWebServices($host, $username, $password, $version); However how can I get the calendar events from another user's mailbox? If I have an account in LDAP with admin privileges is it possible to access the calendar events from another user mailbox using the PHP-EWS library? Or is

Getting unread mail from exchange web services via PHP

余生颓废 提交于 2019-12-05 03:31:31
问题 How do you get all unread mail in a users' exchange mailbox using PHP while using this class ? I figured to first list a folders contents like this: $ews = new ExchangeWebServices("mailserver.domain.local", "user", "pass"); $request = new EWSType_FindFolderType(); $request->FolderShape = new EWSType_FolderResponseShapeType(); $request->FolderShape->BaseShape = EWSType_DefaultShapeNamesType::DEFAULT_PROPERTIES; $request->ParentFolderIds = new EWSType_NonEmptyArrayOfBaseFolderIdsType();

PHP: Sending Email with Cyrillic (Ukrainian text)

别来无恙 提交于 2019-12-02 16:38:18
问题 Problem with sending Cyrillic Email with PHP. My side: Server IIS - Database MsSQL - email server: Exchange 2010 /communication via PHP EWS/ Reciever is UA Goverment owned company with their specific software for receiving emails. It is working with MS Outlook /manually send/. I tried send it as text /not html/ or i tried PHP Mailer, i also already tried with C# /all are not working with this specific company /on gmail or hotmail it's working fine//. $ews = new ExchangeWebServices($server,