mdEmail® Registration API

addUser($session_id, $domain_name, $user_name, $password)

addUser should be called when a max md user needs to add an email user for a given domain. It can be retrieved via a soap request using the "addUser" method to


  (string) code - A response code. This will be "000" if there is no error
  (string) message - A description of the reponse code
  (string) values - For future use

Sample Code (using NuSoap)

$soap = new soapclient("",array( 'trace' => true, 'exceptions' => true, ));
$response= $soap->addUser($session_id, $domain_name, $user_name, $password);
if ($response->code == '000') {
  echo $response->message;
  echo $response->message;

The xml for the WSDL can be found here