RuleAddActionForward()

Forwards an item when rule conditions are met. Forwarded items are sent as an attachment to a mail message.

Token ID

AFTKN_RULE_ACT_FORWARD or 648

Syntax

VOID RuleAddActionForward( [ANSISTRING UserID]; 
                           ANSISTRING RuleName; 
                           [ANSISTRING To]; 
                           [ANSISTRING CC]; 
                           [ANSISTRING BC]; 
                           [ANSISTRING Subject]; 
                           [ANSISTRING Files]; 
                           [ANSISTRING Message]; 
                           [ANSISTRING From])

Parameters

UserID As ANSISTRING

(Optional)

RuleName As ANSISTRING

Name of the rule to add the action to.

To As ANSISTRING

User ID of the person to receive the forwarded item. (Optional)

CC As ANSISTRING

User ID of the person to receive a copy of the forwarded item. (Optional)

BC As ANSISTRING

User ID of the person to receive a blind copy of the forwarded item. (Optional)

Subject As ANSISTRING

(Optional) Subject for the forwarded item.

Files As ANSISTRING

Separate multiple attachments with a comma. (Optional)

Message As ANSISTRING

(Optional) Message text for the forwarded item.

From As ANSISTRING

Name of person forwarding the item. (Optional)