Subaccount AddDomain()

From Rackspace Email & Apps API
Revision as of 13:13, 20 November 2009 by Kevin.lin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This function will add a domain to a subaccount and configure the system to accept email for that domain. Please note that this is wholly separate from the DNS process of configuring the DNS and especially MX records for a domain.

Parameters

Five strings, 3 integers

   Administrative username (string),
   Administrative password (string),
   Subaccount number (string),
   New domain name (string),
   Aliases for the new domain (string, format "alias1.com, alias2.com, ...),
   Maximum mailbox size in MB (int, must be > 0),
   Maximum number of mailboxes (int, 0 means no limit and should be used cautiously),
   Placeholder (int, please set to 1)

Return Values

If successful, the return value of the function will be 1.

Consult the Result Code Table for a list of result codes and their meaning.