Exchange-Web-Services-for-PHP | basic library for interacting with Exchange Web | Email library
kandi X-RAY | Exchange-Web-Services-for-PHP Summary
kandi X-RAY | Exchange-Web-Services-for-PHP Summary
This is a basic library that abstracts a few of common operations using the Exchange Web Services API present on Exchange Server 2007. It is based in large part on [Talking SOAP with Exchange] Right now only basic operations are supported (getting a list of all email from a user’s inbox (including attachments), sending email messages, getting calendar events, and utilizing Delegate support to access multiple accounts), but as time goes on hopefully more funtionality will be added.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Do the actual request
- Create curl buffer
- Read from the current stream
- Open a stream
- Retrieves information about a file
- Write data to the stream
- Get the headers of the last request
Exchange-Web-Services-for-PHP Key Features
Exchange-Web-Services-for-PHP Examples and Code Snippets
Community Discussions
Trending Discussions on Exchange-Web-Services-for-PHP
QUESTION
Today my PHP application started to fail using it's email parser technology from https://github.com/rileydutton/Exchange-Web-Services-for-PHP which has worked for years.
Prior to this, the EC2 drive filled up and the site went down. I resolved the free space issue and the site came back except for the parser. I then updated the system as usual via yum and restarted services. I then rebooted the whole server.
The logs state that:
Uncaught SoapFault exception: [Client] Allowed memory size of 314572800 bytes exhausted (tried to allocate 1052319233 bytes) in /var/www/html/core/php/owaews/lib/NTLMSoapClient.php:10
That is the initial construct code connecting to the WSDL.
The requested memory amount changes, but this code hasn't changed in years so I'm surprised it is acting up.
PHP is set to allow 300MB of memory_usage.
I'm wondering how I can resolve this issue and its root cause.
Currently running Amazon Linux 2017.09 4.9.85-37 with Apache 2.4.27 and PHP 7.1.13 using FPM/FastCGI
...ANSWER
Answered 2018-Mar-09 at 16:12Okay, apparently loading the WSDL remotely was causing the memory issues. Initial thoughts are changes on the OWA side returning some odd data that the site was choking on.
Thankfully, the parser code allows you to load the WSDL locally, and the problem does not occur when loaded locally.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Exchange-Web-Services-for-PHP
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page