Skip to content

error while using mark_message_as_read #28

@eyyupbal

Description

@eyyupbal

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 );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions