Sun Identity Manager 8.1 Business Administrator's Guide

Customizing Email Templates

Identity Manager uses email templates to deliver information and requests for action to users and approvers. The system includes templates for:

Editing an Email Template

You can customize email templates to provide specific directions to the recipient, telling him how to accomplish a task or how to see results. For example, you might want to customize the Account Creation Approval template to direct an approver to an account approval page by adding the following message:

Please go to to approve account creation for $(fullname).

Use the following procedure to customize an email template using the Account Creation Approval template as an example:

ProcedureTo Customize an Email Template

  1. In the Administrator interface, click the Configure tab, then click the Email Templates subtab.

    The Email Templates page opens.

  2. Click to select the Account Creation Approval template.

    Figure 4–1 Editing an Email Template

    Figure illustrating the Edit Email Template tab

  3. Enter details for the template.

    You can enter the following information:

    • In the SMTP Host field, enter the SMTP server name so that email notification can be sent.

    • In the From field, customize the originating email address.

    • In the To and Cc fields, enter one or more email addresses or Identity Manager accounts that will be the recipients of the email notification.

    • In the Email Body field, customize the content to provide a pointer to your Identity Manager location.

  4. Click Save.

    You can also modify email templates by using the Sun Identity Manager Integrated Development Environment (Identity Manager IDE). For information about the Identity Manager IDE, go to the following website:

    Note –

    You must register and log in to this site.

HTML and Links in Email Templates

You can insert HTML-formatted content into an email template to display in the body of an email message. Content can include text, graphics, and Web links to information. To enable HTML-formatted content, select the HTML Enabled option.

Allowable Variables in the Email Body

You can also include references to variables in the email template body, in the form $(Name); for example: Your password $(password) has been recovered.

Allowable variables for each template are defined in the following table.


Table 4–1 Email Template Variables


Allowable Variables  

Password Reset 

$(password)– newly generated password

Update Approval 

$(fullname)– user’s full name

$(role)– user’s role

Update Notification 

$(fullname)– user’s full name

$(role)– user’s role


$(report)– generated report

$(id)– encoded ID of the task instance

$(timestamp)– time when email was sent

Request Resource 

$(fullname)– user’s full name

$(resource)– resource type

Risk Analysis 

$(report)– risk analysis report

Temporary Password Reset 

$(password)– newly generated password

$(expiry)– password expiration date