RuleAddActionMoveToFolder()

Moves an item to a folder when rule conditions are met.

Token ID

AFTKN_RULE_ACT_MOVETOFOLDER or 651

Syntax

VOID RuleAddActionMoveToFolder([ANSISTRING UserID];
                                ANSISTRING RuleName;
                                ANSISTRING FolderName)

Parameters

UserID As ANSISTRING

(Optional)

RuleName As ANSISTRING

Name of the rule to add the action to.

FolderName As ANSISTRING

Include full folder path. The syntax of the folder's path is Folder1\Folder2\Folder3.