ModifyDomainAliases()
From Rackspace Email & Apps API
This function will reset the domain alias list. A domain alias makes all mailboxes appear to exist on any domain set as an alias to the primary domain. Mail sent to the mailbox on a domain alias will be delivered to the mailbox on the primary domain.
Parameters
Five strings:
Administrative username, Administrative password, Domain name (primary), Aliases (comma separated list of domains to alias to the primary as in alias1.com, alias2.com...), Placeholder string
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.