Hi,
I can get emails without error using get_message function. However, when I want to mark the read e-mail with the mark_message_as read function, I get the following error.
A PHP Error was encountered
Severity: Error
Message: SOAP-ERROR: Encoding: object has no 'Path' property
Filename: lib/ExchangeClient.php
Line Number: 624 --> $response = $this->client->UpdateItem($request);
My code blocks like this:
$ec = new ExchangeClient();
$ec->init("xxxxx", "xxxxx", NULL, "http://myexchangedomain/EWS/Services.wsdl");
$result = $ec->get_messages('10', FALSE, 'inbox', TRUE);
$ec->mark_message_as_read( $result );
Hi,
I can get emails without error using get_message function. However, when I want to mark the read e-mail with the mark_message_as read function, I get the following error.
A PHP Error was encountered
Severity: Error
Message: SOAP-ERROR: Encoding: object has no 'Path' property
Filename: lib/ExchangeClient.php
Line Number: 624 --> $response = $this->client->UpdateItem($request);
My code blocks like this: