PHPGetUserIdentitiesExample
From Rackspace Email & Apps API
<?php $client = new SoapClient('https://secure.webmail.us/mail4/soap/soap_server.php?wsdl'); $res = $client->__soapCall('GetUserIdentities', array('ResellerUsername' => 'reselleruser', 'ResellerPassword' => 'resellerpass', 'HostName' => 'somedomain', 'UserID' => 'someuserID', $contactarray)); print_r($res); print_r($contactarray); ?>