Creating and exporting mail templates
To export mail templates
- Log in to Developer Studioas an administrator.
- In the AR System Navigator, right-click serverName, and choose Export > Mail Template.
- In the Export Mail Template dialog box, click the ellipsis (...) button next to the Form field.
- In the Form Selector dialog box, select the form for which you want to generate mail templates, and click OK.
- In the Export Mail Template dialog box, perform the following actions:
- In the View Details table, select the views your want to use in the template.
- Click the ellipsis (...) button next to the To File field to specify the file name and location where you want the templates stored.
If you specify an existing folder and file name, you have two choices:- Overwrite—Overwrites the mail template of an existing file. This option is useful when you are re-exporting a template that has changed.
- Append—Appends the contents to an existing file. If several templates are in a single file, the mail processor will not be able to process the request.
The template is saved as a single text file with an *.arm extension. Using the AR System Email Templates form, users can associate these files with their mail messages.
The following example shows an email template exported by using Developer Studio:
#
# File exported Fri Apr 30 09:54:36 2004
#
Schema: HD Email
Server: POLYCARP.eng.bmc.com
Login:
Password:
Action: Submit
# Values: Submit, Query
Format: Short
# Values: Short, Full
# File exported Fri Apr 30 09:54:36 2004
#
Schema: HD Email
Server: POLYCARP.eng.bmc.com
Login:
Password:
Action: Submit
# Values: Submit, Query
Format: Short
# Values: Short, Full
In general, lines beginning with a pound sign (#) are treated as comments and can occur anywhere in the message. Comments are optional and can be retained or deleted.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*