The Domains object is a collection of all domains set up in the hMailServer installation.
Adds a new item to the collection
Deletes the domain with the given database identifier.
Refreshes the collection.
The number of objects in the collection.
Returns a domain by its given index in the collection.
Returns a domain by its name
Returns a list containing id name id name