184.108.40.206.5 Creating a Reply Template
A reply template is an FAI message that is used when creating a reply message. Before creating a rule (2) that has an "OP_REPLY" or "OP_OOF_REPLY" value for the ActionType field, the client MUST first create a reply template in the folder for which the rule (2) is to be created.
The following steps specify how to create a reply template:
Create a new FAI message in the folder for which the rule (2) is to be created.
Set the value of the PidTagMessageClass property ([MS-OXCMSG] section 220.127.116.11) to a string that has the prefix "IPM.Note.rules.ReplyTemplate." (for "OP_REPLY" values) or "IPM.Note.rules.OOFTemplate." (for "OP_OOF_REPLY" values).
Set the value of PidTagSubject property ([MS-OXCMSG] section 18.104.22.168), the text of the message, and other message properties as desired.
Save the newly created message.
The value of the PidTagReplyTemplateId property generated by the client at step 3 is the value used by the ReplyTemplateGUID field of the OP_REPLY/OP_OOF_REPLY ActionData structure specified in section 22.214.171.124.2.2.
For more details about creating and working with FAI messages, see [MS-OXCFOLD] and [MS-OXCMSG].