RuleAddActionEmptyItem()

Deletes an item and then empties it from Trash when rule conditions are met.

Token ID

AFTKN_RULE_ACT_EMPTYITEM or 647

Syntax

VOID RuleAddActionEmptyItem( [ANSISTRING UserID]; 
                             ANSISTRING RuleName)

Parameters

UserID As ANSISTRING

(Optional)

RuleName As ANSISTRING

Name of the rule to add the action to.

Remarks

IMPORTANT: You cannot recover emptied items.