Storing copies of email notifications and configuring the URL for templates

You can enable the feature to store copies of email notifications by editing the EMailSettings file. You also edit this file to specify the URL of the dashboard that is substituted for the URL token in an email template.

The file is loaded into WSRR as a configuration item of type EMAIL_TEMPLATE.

The file contains the following user-configurable items:

storeInSent
This is set to true or false. The default is false.

When set to true, the Email Owner, Email Consumers and Email subscriptions features store a copy of any email sent. The copy is stored in the Sent folder of the mail server configured in WebSphere® Application Server, in the WSRR EMail Session object. WSRR uses the IMAP protocol to connect to the mail server and store a copy of the email in the sent folder. The Incoming Mail Settings must be set in the WebSphere Application Server EMail Session object. Ensure the email address set in the reply to email address is that of the user used to connect to the IMAP server.

When set to true, the value of sentFolderName is used.

sentFolderName
The name of the folder on the email server used to store sent email in. The default is "Sent".

When storeInSent is set to true, this property gives the name of the folder on the email server to store a copy of the sent email in. By default the value is "Sent", but you can specify a different name if required.

dashboardUrl

This contains the URL to the Service Registry dashboard. The URL is substituted when the token %dashboardUrl is used in an email template for emails sent as a result of an email subscription. For example:

dashboardUrl=https://server:9443/ServiceRegistryDashboard/

If the WSRR system has a prefix, the URL should specify the prefixed dashboard. For example, if the prefix is "gov", the entry is:

dashboardUrl=https://server:9443/govServiceRegistryDashboard/

If the WSRR system is in a cluster with a fronting web server, the value should specify the URL on the web server where the dashboard can be reached.