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
1
vote
3 answers

How to connect to an Office365 Server using PHP-EWS (Getting a 404)

I'm currently attempting to update an internal tool to handle an upgrade of our exchange servers to office 365. I'm using the most recent version of James Armas's PHP-EWS tool. jamesiarmes/php-ews Here is the code snippet that is inside of a…
Xgongiveittoya
  • 753
  • 1
  • 14
  • 33
1
vote
2 answers

php-ews: Class 'SoapClient' not found when using full path to the Classes

Implementing php-ews on the existing non-OOP website. Running standalone PHP script in shell works fine. Standalone PHP script uses use: use \jamesiarmes\PhpEws\Client; use \jamesiarmes\PhpEws\Request\CreateItemType; But I can't use use inside…
Alex G
  • 3,048
  • 10
  • 39
  • 78
1
vote
2 answers

sending email to multiple accounts using php ews

The below code is used for sending email using jamesiarmes/php-ews in my application $request = new \jamesiarmes\PhpEws\Request\CreateItemType(); $request->MessageDisposition = "SendOnly"; $request->SavedItemFolderId->DistinguishedFolderId->Id…
Rejith RJ
  • 43
  • 9
1
vote
0 answers

want to read only unread mail from inbox in exchange server in PHP

i want to read only unread email from outlook exchange server. below is my code. but it is showing all email(read+unread) from inbox.
bKashOST
  • 149
  • 4
  • 11
1
vote
2 answers

Is there a way to connect with EWS without user credentials if I'm not using Office 365?

Original jamesiarmes/php-ews offers authentication only by username / password. Fork by Garethp has some OAuth function but it requires Office365 and registering application in Azure. Is there any possibility to connect to Outlook by web browser…
piotrevic
  • 31
  • 3
1
vote
1 answer

php-ews: Fatal error: Uncaught SoapFault exception: [Client] Class 'EWS_Exception'

Information I have been running this code for like a year and everything was working fine until yesterday. See error message below. The code does fetch only the numbers of unread emails in the Inbox. Of the number increases it will also play a sound…
Treps
  • 780
  • 3
  • 12
  • 28
1
vote
1 answer

php-ews send calendar invitation

I found lots of examples to send myself a php-ews Exchange calendar invitation, but I have been unable to invite anyone else to my calendar event, even someone I have full access delegate permissions for. Can you please give a full source example? …
Erick Engelke
  • 31
  • 1
  • 5
1
vote
1 answer

php-ews and email IDs

I'm working on a php script that connects to an exchange server using php-ews. For starters I pulled all emails in my inbox and did some digging to see how chain emails work. I want to be able to group email chains together for simplicity reasons.…
yusof
  • 143
  • 2
  • 14
1
vote
0 answers

EWS SendMeetingInvitations property changes date and time

I'm creating calendar events in Exchange (2010) via EWS using the library PHP EWS. When i create an event i set the start and end datetimes and the timezone. The XML that is sent looks like this:
1
vote
0 answers

PHP-EWS Exchange 2010 error on large mailbox

I'm using php-ews to read through a mailbox which has over 1000 on Exchange 2010, I have a function for listing all the emails with the use of EWSType_FindItemType to grab all of the ID keys and store them into an array which I have then used a…
Eliot
  • 31
  • 3
1
vote
1 answer

Not collected Exception: Wrong Version PHP-EWS

Im trying to connect with the PHP-EWS and my Exchange server. I use the Script from https://github.com/jamesiarmes/php-ews/wiki But everytime i load my script the browser tells me Not collected Exception: Wrong Version Here is my script (The…
Xymz
  • 21
  • 5
1
vote
1 answer

EWS-PHP : get all recurring calendar item

With the EWS-PHP library, I am able to get all events on my Exchange calendar. But I noticed that when there is recurring event, I got only the first occurrence event, and this happens when the CalendarItem has "RecurringMaster" for the…
Thierry
  • 746
  • 13
  • 15
1
vote
1 answer

PHP-EWS stuck with curl 7.21.6

I am starting to lose my head around one problem with the PHP EWS. Now, I have a customer's server which is Ubuntu 11.10 and CURL 7.21.6 (I can't do anything for that) and my development server which is Windows Server 2008 R2 and CURL 7.30.0. In…
1
vote
1 answer

Get a list of contacts in a distribution list using php-ews API

I am using PHP-EWS to get a list of contact. This list of contact is a distribution list in the Contacts root folder. Actually I am using this: $ews = new ExchangeWebServices($server, $username, $password); $request = new…
kbonnelly
  • 189
  • 1
  • 1
  • 11
1
vote
1 answer

php-ews: Access shared calendars?

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…
L42
  • 3,052
  • 4
  • 28
  • 49