• $bean->emailAddress->addAddress is not working, and $sea->addAddress REMOVES all other addresses

    I am writing an API to change an email address on a contact. I don't want to remove the old address, just add the new one as primary on the Contact bean. I used the documented addAddress ( support.sugarcrm.com/.../ ) $contactBean->emailAddress->addAddress…