As an alternative to using the layout options in the Contents of Mail grid for email notification, custom email templates can be created using plain text or HTML. The template can contain any combination of FootPrints fields using special keywords, and any custom text, in any layout desired. Different templates can be created for each mail notification type: Assignee, Customer, CC, and Wireless/Pager. If a custom email template is enabled, it overrides most of the other options selected in the Contents of Mail grid (exceptions are listed below).
To create a custom email template:
Example:
To insert the Issue Number into a sentence:
The reference number for your Issue is %%ATTRIB__NUMBER%%.
So, when an email notification is sent for Issue Number 3486, the sentence above displays as follows:
The reference number for your Issue is 3486.
Sample Template (Text)
Hi %%FIRST-NAME%%!
This is an email notification regarding your Issue “%%ATTRIB__TITLE%%”.
The reference number for this Issue is %%ATTRIB__NUMBER%%.
Notes:
%%ATTRIB__DESCRIPTION%%
Sample Email Generated from the Template AboveWhen replying, type your text above this line.
Hi Bob!
This is an email notification regarding your Issue “Forgot password”.
The reference number for this Issue is 5429.
Notes:
Entered on 1/16/2001 at 11:48:50 by Jill Smith:
Customer cannot receive email. A technician is scheduled to call Monday, September 22 @ 2pm PST.
Note
The message “When replying, type your text above this line” is inserted even though it is not part of the template. This message is inserted automatically by FootPrints for all Assignee, Customer, and CC email notifications. Wireless/Pager mail templates do not contain this sentence.
Exceptions
Enabling a custom email template overrides most of the other settings selected in the Contents of Mail grid for that email type. There are a few exceptions:
Keywords also include %%ATTRIB__FIRST_DESCRIPTION%% and %%ATTRIB__ALL_DESCRIPTION%%. If you use these keywords, you do not need to use the Edit button and select the "All Descriptions" or "Most Recent Only" options. %%ATTRIB_FIRST_DESCRIPTIONS%% provides the first description entered, %%ATTRIB__MOST_RECENT_DESCRIPTION%% provides the most recent description, and %%ATTRIB_ALL_DESCRIPTIONS%% provides all of the descriptions.
Mail Variables
If the custom email template is not used, some variables can still be inserted into the canned message placed at the top or bottom of the email notification, such as the user name, subject, etc. When one of these variables is placed in the greeting message composed under Text at top of message or Text at bottom of message, emails sent by FootPrints include the dynamic data specified.
The table below contains the list of valid keywords:
Variable Name |
Description
|
_WHONAME_ |
Name of user who created/edited Issue |
_WHOMAIL_ |
Email of user who created/edited Issue |
_PROJECTNAME_ |
Workspace Name |
_ISSUETITLE_ |
Title of Issue |
Email variables
Here is a sample greeting which includes 2 variables:
Hi_WHONAME_! Thank you for registering your request _ISSUETITLE_ with us using FootPrints. Your request is very important to us, and we will respond as soon as possible. To respond to this message, simply reply and type your message at the top. If you experience any problems using FootPrints, please send email directly to [email protected].
In the example above, the user’s name is substituted for _WHONAME_ and the subject of the email (i.e., the title of the Issue) is substituted for _ISSUETITLE_.
Note
These variables only work in the canned email messages; they do not work for the custom email templates described in the last topic.