PHPGetUserContactsFullExample

From Rackspace Email & Apps API
Jump to: navigation, search
<?php

$client = new SoapClient('https://secure.webmail.us/mail4/soap/soap_server.php?wsdl');

$res = $client->__soapCall('GetUserContactsFull',
                     array('ResellerUsername' => 'reselleruser',
                           'ResellerPassword' => 'resellerpass',
                           'HostName'         => 'somedomain',
                           'UserID'           => 'someuserID',
                           $contactarray));

print_r($res);
print_r($contactarray);

?>