On this page:
Email templates can be optionally used by Email notification actions.
The account-level Configure Email Templates permission is required to create an email template. See the Alert and Respond topic for information about permissions related to Alert and Respond features.
To access existing templates or to create new ones, in the application click Alert & Respond in the menu bar, then Email Templates either in the right panel or the left navigation pane.
The Email Templates list appears. Click an existing template in the list to view, edit or delete it. Click the New + icon to create a template.
Use the new template dialog to define a template. While the configuration settings are largely self-explanatory, some template configuration features and options may require additional information. The following sections describes those features.
After you have created the template, click the Save button at the bottom.
You can use variables that replace values in the message body when the email is sent.
The template already knows a set of predefined variables, which are described in Predefined Templating Variables. Check this list before you create any custom templating variables. Chances are the variable you want to use has already been defined.
You can optionally configure custom variables if the predefined variables do not meet all your needs. When a predefined variable and a custom variable are both configured with the same variable name, the template uses the predefined variable.
The template uses Apache Velocity version 1.7 to process the variables. This page assumes that you are familiar with Apache Velocity template engine.
For each recipient enter an email addresses and click + Add. To remove a recipient click -.
If the Allow custom email recipients check box is checked in the template, users of the email template can add additional email recipients when they create the email notification, but they cannot delete any of the recipients configured by the template. Clear this check box if you do not want to allow users of the template to be able to modify the recipient list.
The only way to remove a required recipient is by modifying the template.
Enter the subject line and the body of the message. AppDynamics recommends including both an HTML version and a plain text version. You can use any
background-color instead of
background for HTML email templates.
Foreach loops are supported.
Use this section to add custom SMTP headers to the message.
Several separate events, or separate occurrences of the same event, could potentially invoke the same notification action.
The One Email Per Event setting controls whether the action bundles the emails triggered by those events. The effect is:
If you have not checked the One Email Per Event check box, you might want to limit the display of the events that triggered the action in the email, especially if the potential list of events could be long. The clamp limit is the number of most recent triggering events to be shown in the email. This setting is disabled if One Email Per Event is checked.
After you save the email template, you can test the template by sending an email.