PHP code example of nowise / uup-ews

1. Go to this page and download the library: Download nowise/uup-ews library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

nowise / uup-ews example snippets

bash
for f in services.wsdl messages.xsd types.xsd; do \
  curl -v --ntlm --user [email protected] \
      https://server.example.com/ews/$f > config/$f
done
xml
<wsdl:service name="ExchangeServices">
  <wsdl:port name="ExchangeServicePort" binding="tns:ExchangeServiceBinding">
    <soap:address location="https://server.example.com/ews/exchange.asmx" />
  </wsdl:port>
</wsdl:service> 
bash
composer rate.php
bash
php bin/client.php [email protected] --pass=secret \
                   --host=exchange.example.com \
                   --find --start="2015-11-25" --end="2015-12-01"
bash
php bin/client.php [email protected] --pass=secret \
                   --host=exchange.example.com \
                   --add --start="2015-11-25" --end="2015-12-01" \
                   --title="TEST" --body="Some text..."
bash
php bin/client.php [email protected] --pass=secret \
                   --host=exchange.example.com \
                   --delete --id="AABCurZhAAA="