Questions tagged [php-ews]

PHP Exchange Web Services

The PHP Exchange Web Services library (php-ews) is intended to make communication with Microsoft Exchange servers using Exchange Web Services easier.

It handles the authentication required to use the services and provides an object-oriented interface to the complex types required to form a request.

96 questions
2
votes
1 answer

php-ews: Why isn't a calendar event's body a accessible from an event just like other attributes e.g subject/start-time?

For example, To access time and name of Calendar events, we can write: $startTime = $event->Start; $endTime = $event->End; $subject = $event->Subject; But an event's body is not accessible by doing: $body = $event -> Body Instead…
Melaz
  • 664
  • 6
  • 8
2
votes
2 answers

Exchange web services issue : "Soap client returned status of 401" in PHP

I am using Exchange web services for sync. of my calendars and events. I wasted my lots of time for finding solution of this error. Can any one please help me. SOAP client returned status of 401
Viraj
  • 228
  • 5
  • 14
2
votes
1 answer

php-ews Access all calendars including shared

I have a calendar for a conference room shared with me. What I am hoping to do is to use php-ews to pull that calendar schedule for display. So far, I have been able to easily display my OWN calendar without issue. This was done using the code at:…
2
votes
1 answer

Access another mailbox calendar events with PHP-EWS

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…
user3427013
  • 1,039
  • 1
  • 13
  • 28
2
votes
1 answer

Creating a recurring calendar event with php-ews

I am trying to create a recurring calendar event with php-ews and the documentation is very limited in this aspect. I have got what is below so far I just can not find out how to have it repeat say every Monday and Wednesday. Can anyone who has done…
Zach Starnes
  • 3,108
  • 9
  • 39
  • 63
2
votes
1 answer

How to export Exchange Web Services Item to a *.eml file? (PHP)

I'm developing a web interface for Exchange Web Services which should be able to save a mail item to eml format. I use PHP-EWS (https://github.com/jamesiarmes/php-ews) to establish a connection to the Exchange Server. I know how such a file looks…
Tobias Bambullis
  • 736
  • 5
  • 17
  • 45
2
votes
1 answer

Restriction (Search) by Sender

I'm attempting to retrieve a list of emails by a particular sender on an exchange server using PHP EWS. My code sample related specifically to the restriction (search) construction: $request->Restriction = new…
Paul
  • 804
  • 2
  • 13
  • 31
1
vote
1 answer

php-ews class library always returns null

I am trying to make SOAP calls to our Exchange server using the classes I found here: http://code.google.com/p/php-ews/ I have coded up a few examples, starting with the basic example as below and no matter what I try and do this always returns…
frak
  • 858
  • 1
  • 10
  • 30
1
vote
0 answers

Submitting GetUserOofSettings and SetUserOofSettings request

Does anyone have any code about both getting and setting users OOF messages using Garethp/php-ews library by any…
l0ckm4
  • 757
  • 5
  • 17
1
vote
0 answers

php-ews Setting Flag (follow up) dates not working for Inbox message

When creating a message with the MessageDispositionType: $request->MessageDisposition = MessageDispositionType::SEND_AND_SAVE_COPY; And then setting the FlagStatus to "Flagged" $message = new MessageType(); $message->Subject = 'EWS Inline…
JustBaron
  • 2,319
  • 7
  • 25
  • 37
1
vote
1 answer

How to post an event directly to another user's calendar

i want To post an event directly to another user's calendar with jamesiarmes/php-ews but in example i have find only how to make it with invitation. I have admin account so i can write in athers user's post calendar directly. i don't understant a…
VonZipper
  • 55
  • 1
  • 6
1
vote
0 answers

Exchange Web Services (EWS) error on push notifications

I am developing a web platform and I am making the connection with AD and Exchange Web Services. For Exchange I am using the PHP-EWS jamesiarmes / php-ews library with Symfony 4.1. I am currently subscribing to push notifications for calendar events…
D. Pinheiro
  • 646
  • 4
  • 18
1
vote
0 answers

php -ews - empty ItemId

I am subscribing to EWS push notifications for calendar events and to log notifications. I am using PHP-EWS: jamesiarmes/php-ews and Symfony 4.1 To subscribe, I'm using this code: $eventTypes = new NonEmptyArrayOfNotificationEventTypesType(); …
1
vote
1 answer

php -ews - Push notifications

I am subscribing to EWS push notifications for calendar events and to log notifications. I am using PHP-EWS: jamesiarmes/php-ews and Symfony 4.1 To subscribe I'm using this code: $ews = new Client($this->host, $this->username, $this->password,…
1
vote
1 answer

php-ews -Occurrences of a meeting

have some trouble figure this out Using php-ews: jamesiarmes/php-ews I am trying to book events with Recurrence and is working fine After booking that meeting i want to fetch all occurrence of that meeting but can figuer it out! Can anyone…