Rule object

Description

The Rule object represents a single hMailServer rule.

Methods

Delete()

Deletes the object from the database.

MoveDown()

Moves the rule down in the priority order

MoveUp()

Moves the rule up in the priority order.

Save()

Saves changes of the object in the database.

Properties

long AccountID

AccountID

RuleActions Actions

The actions for this rule.
(read-only)

bool Active

Active

RuleCriterias Criterias

The criterias for this rule.
(read-only)

long ID

ID
(read-only)

string Name

Name

bool UseAND

UseAND

Search documentation