RuleAddActionReplyWithText()

Adds an action to the rule specified by RuleName that replies to the item being processed with a text message.

Token ID

AFTKN_RULE_ACT_REPLY_WITH_TEXT or 852

Syntax

VOID RuleAddActionReplyWithText( [ANSISTRING UserID]; 
                                 ANSISTRING  RuleName; 
                                 ENUM ReplyType; 
                                 [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.

ReplyType As ENUM

Reply to sender only or to sender and all recipients of the same mail, appointment, task, or note item.

  • 232 ToAll
  • 234 ToSender
CC As ANSISTRING

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

BC As ANSISTRING

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

Subject As ANSISTRING

(Optional) Subject for the reply.

Files As ANSISTRING

Separate multiple attachments with a comma. (Optional)

Message As ANSISTRING

(Optional) Message for the reply.

From As ANSISTRING

Name of person replying to the item. (Optional)