Modify the sample email content

We can modify the content of the sample email notifications used for testing.

A post office email aggregation template must already be configured.

Use the following sections to work with the configuration files or the configuration properties from the IBM Security Identity Manager virtual appliance console:

Modify the content of the sample email notification.

  1. Edit the enRole.properties file. See Manage the server properties.
  2. New enrole.postoffice values, and then save the enRole.properties file. enRole.properties is the name of the properties file, and enrole.postoffice is the name of the key for which we specify a value. This key-value pair resides in the properties file.
  3. Restart your application server for the new values to take effect.

The results of this task can be seen only after you test the aggregation template that we created or modified. The new sample email notifications are aggregated and sent to the test email address.


Example

The enRole.properties file contains the following default values.

#############################################################
## Post Office Template Test Configuration #############################################################
# These are the contents of the emails that will be used # when the "test" button is used on the Post Office
# configuration page. These 3 emails will be used as the # content to which the template will be applied.
enrole.postoffice.test.subject1=This is subject 1
enrole.postoffice.test.textbody1=This is the text body 1
enrole.postoffice.test.xhtmlbody1=This is the xhtml body 1

enrole.postoffice.test.subject2=This is subject 2
enrole.postoffice.test.textbody2=This is the text body 2
enrole.postoffice.test.xhtmlbody2=This is the xhtml body 2

enrole.postoffice.test.subject3=This is subject 3
enrole.postoffice.test.textbody3=This is the text body 3
enrole.postoffice.test.xhtmlbody3=This is the xhtml body 3

# The topic to use for the test emails above
enrole.postoffice.test.topic=topic1

# The locale to use for the test emails above
enrole.postoffice.test.locale=en_US

Test the new aggregate template by sending it to a test email address.

Parent topic: Post office configuration

Parent topic: Configure