I'm using garethp/php-ews to import Exchange Contacts to a MySQL Database and export them into another Exchange Account.
Everything works fine so far, but I'm not able to get the notes from the contacts.
$contact->getNotes() doesn't work, $contact->getBody() doesn't work either.
Any suggestions??
Ok, got it.
You get the notes by using
getBody(). But this works only, if you get one contact object by usinggetItem()orgetContact()and not if you load a whole bunch by usinggetContacts().