Customizing the post office email template
You can enable or disable the post office and set the time interval that the post office uses to collect messages to aggregate. You can also customize the email template that is used to generate the aggregate message that is sent to the recipients.
Before you begin
Depending on how your system administrator customized your system, you might not have access to this task. To obtain access to this task or to have someone complete it for you, contact your system administrator.
About this task
When you enable the post office, all email notifications are stored until the time interval that you specify. At that time, the notifications are aggregated into one email message that is sent to the recipients.
The post office email template can use dynamic content. Dynamic content includes dynamic content message tags and JavaScript code. Dynamic content also includes tags that replace variables with other values, or reference a property that allows translation with the use of a CustomLabels.properties file.
The template is applied to the collection of notification messages that the system holds for a specified Group E-mail Topic value and message recipient. This template can be as simple or as complex as required. The Group E-mail Topic value is set in the workflow designer.
To enable the post office and configure a post office aggregation email template, complete these steps:
Procedure
- From the navigation tree, click .The Post Office page is displayed.
- On the Post Office page, select the Enable store forwarding check box.
- In
the Collection interval field,
type the number of minutes that you want to pass before the post office
aggregates the stored email messages and sends them to the recipients.
The value of the collection interval must be an integer 5 - 10080.
- In the Subject field, type the text
to specify the subject of the email notification that is sent as the
aggregate message instead of being sent as an individual email message.
The subject can consist of plain text and dynamic content tags.
- In the Plaintext body field,
type
the text to be displayed in the body of the aggregate message.
The content can consist of plain text, dynamic content tags, and JavaScript code. These contents are shown to email recipients that do not see HTML email notifications.
- In the XHTML
body field, type the
text to be displayed in the body of the email notification as HTML.
The content can consist of plain text, dynamic content tags, and JavaScript code. These contents are shown to email recipients that see HTML email notifications. For the correct aggregation of XHTML bodies of individual email templates with the post office email aggregation template, use an optional attribute ‘escapeentities'. This attribute is in the <JS> tag of Post Office XHTML body template. Set the value to false. See Sample post office email aggregation template for more details.
- Click OK to save the changes and then click Close.
Results
After the next interval expires, the combined notifications are aggregated and sent as one email notification.
What to do next
Test the post office email aggregation template that you created before with it to aggregate email notifications that are sent to activity participants.