EEditDomain.exe
DomainName - Name of the mail domain.
MaxMailBoxes - Maximum number of mailboxes allowed for this mail domain.
EnableMailingLists - Value is equal to "1" for enabling and "0" for disabling.
EnableDomainAliases - Value is equal to "1" for enabling and "0" for disabling.
EnableDistributonLists - Value is equal to "1" for enabling and "0" for disabling.
EnableSpamFilters - Value is equal to "1" for enabling and "0" for disabling.
EnableUserAliases - Value is equal to "1" for enabling and "0" for disabling.
EnableForwards - Value is equal to "1" for enabling and "0" for disabling.
EnableAutoResponders - Value is equal to "1" for enabling and "0" for disabling.
EnableWebAccess - Value is equal to "1" for enabling and "0" for disabling.
The API verifies whether the existing number of users on the mail domain is greater than the value of MaxMailBoxes. In such cases, the API fails the call with the appropriate error message. It also sets the properties of the mail domain according to the remaining parameters passed to it.