Message bundle keys may also be used in email templates. The default Service Provider End-User email templates are stored in the repository and have IDs similar to #ID#EmailTemplate:SPEEndUserChangePassword . Message bundle keys may be specified for the email subject and body of the message:
<!-- The template used when user changes their password. -->
<EmailTemplate id=’#ID#EmailTemplate:SPEEndUserChangePassword’
name=’Service Provider End-User Change Password’
displayName=’UI_EMAILTEMPLATE_SPE_END_USER_CHANGE_PASSWORD’
smtpHost=’$(smtpHost)’ fromAddress=’admin@example.com’>
<subject>IDMX_change_password_email_subject</subject>
<body>IDMX_change_password_email_body</body>
<MemberObjectGroups>
<ObjectRef type=’ObjectGroup’ name=’All’/>
</MemberObjectGroups>
</EmailTemplate>
Note that message bundle keys used in email templates MUST contain an underscore character to be recognized as a message key.