2.2.2.19.3 TemplateID (SendMail, SmartForward, SmartReply)

The TemplateID element is an optional child element of the SendMail element ([MS-ASCMD] section 2.2.3.162), the SmartForward element ([MS-ASCMD] section 2.2.3.169), and the SmartReply element ([MS-ASCMD] section 2.2.3.170). It contains a string that identifies a particular rights policy template to be applied to the outgoing message.

If a rights-managed e-mail message is forwarded or replied to using the SmartForward or SmartReply command, the IRM protection is removed from the outgoing message if the following conditions are true:

  • The original rights policy template has the ExportAllowed element set to TRUE.

  • The TemplateID on the new message is set to the "No Restriction" template (TemplateID value "00000000-0000-0000-0000-000000000000").

The original message retains its IRM protection.

The TemplateID element has no child elements.

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

12.0

12.1

14.0

14.1

Yes

16.0

Yes

16.1

Yes