Editing email templates

Each trigger you create begins with a basic email template that can be customized. Email templates are stored with triggers on the server.

  1. Click Edit Email Template on the Add Trigger or Edit Trigger dialog box.
  2. The Edit Email Template dialog box opens with the Edit Email tab selected.

  3. You can use the default subject or customize it.
  4. The default subject line returns the following: UserName performed the following event on the specified number of files. To customize the subject enter text and event variables. For example, if you are adding a trigger to notify project leads when files are shared, you can change the subject line to: %SSCM_USER% performed a %SSCM_EVENT% into %SSCM_REPOSITORY%.

  5. You can use the default body or customize it.
  6. To customize the body text enter text and event variables. You can type the variables or select a variable from the menu and click Insert.

  7. Select an email recipient option.
  8. If security is an issue, select Each email has a single recipient to ensure privacy.

  9. Select Send email in HTML format to send HTML-formatted email.
  10. Click the File List tab.
  11. You can provide detailed file information in email notifications. The information on this tab replaces the %SSCM_FILELIST% field code, on the Email Template tab, when the notifications is sent.

  12. You can use the default file list information or customize it.
  13. You can type the variables or select a variable from the menu and click Insert.

  14. Click OK.
  15. The template is saved with the selected trigger.

    Did you know? When you customize a template any spaces and lines that you add are saved with the template. Text is automatically wrapped to the next line as you type. When an email message notification is sent all field codes are automatically replaced with the corresponding Surround SCM data.