Domain object

Description

The domain object represents one hMailServer domain.

Methods

Delete()

Deletes the domain from the database.

Save()

Saves changes of the object in the database.

SynchronizeDirectory()

Synchronizes this domain towards active directory.

Properties

Accounts Accounts

The accounts collection for the domain.
(read-only)

bool Active

The enabled-state of the domain.

string ADDomainName

The active directory domain this domain will be synchronised to.

bool AddSignaturesToLocalMail

Add signatures to local email

bool AddSignaturesToReplies

Add signatures to replies on email

Aliases Aliases

The aliases collection for the domain.
(read-only)

long AllocatedSize

Allocated space for this domain.
(read-only)

bool AntiSpamEnableGreylisting

Enable greylisting for this domain.

DistributionLists DistributionLists

The distribution lists collection for the domain.
(read-only)

DomainAliases DomainAliases

The aliases of the domain name.
(read-only)

long ID

The unique database identifier for the domain.
(read-only)

long MaxAccountSize

Maximum size of accounts created in this domain.

long MaxMessageSize

Maximum message size when sending from this domain.

long MaxNumberOfAccounts

Maximum number of accounts which can be added to this domain.

bool MaxNumberOfAccountsEnabled

Enable maximum number of accounts.

long MaxNumberOfAliases

Maximum number of aliases which can be added to this domain.

bool MaxNumberOfAliasesEnabled

Enable maximum number of aliases.

long MaxNumberOfDistributionLists

Maximum number of distribution lists which can be added to this domain.

bool MaxNumberOfDistributionListsEnabled

Enable maximum number of distribution lists.

long MaxSize

Maximum size of this domain in MB.

string Name

Name of the domain.

string PlusAddressingCharacter

Plus addressing character.

bool PlusAddressingEnabled

Use plus addressing for this domain.

string Postmaster

The postmaster for this domain. E-mail sent to an nonexistent address will be redirected to this address.

bool SignatureEnabled

Enable the signature

string SignatureHTML

The HTML version of the signature

eDomainSignatureMethod SignatureMethod

The domain signature method

string SignaturePlainText

The plain text version of the signature

long Size

Current size of this domain in MB.
(read-only)

Search documentation