CentraSite 10.7 | CentraSite User’s Guide | Policy Management | Configuring Email Notifications | Using Email Templates with Policy Actions | Managing Email Templates through Command Line | Adding a Custom Email Template
 
Adding a Custom Email Template
Pre-requisites:
To add a custom email template through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named ConfigEmailTemplates for this purpose.
*To add a custom email template
*Run the command ConfigEmailTemplates.
The syntax is of the format C:\SoftwareAG\CentraSite\utilities>ConfigEmailTemplates.cmd -dbuser <USERNAME> -dbpassword <PASSWORD> [-dburl <CENTRASITE-URL>] -t <TEMPLATE-FILE>
The input parameters are:
Parameter
Description
-dburl
(Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
-dbuser
The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator.
-dbpassword
The password for the registered CentraSite user identified by the parameter -dbuser.
-t
The absolute or relative path to the template file. If relative, the path should be relative to the location from where the command is executed.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>ConfigEmailTemplates.cmd -dburl http://localhost:53307/CentraSite/CentraSite –dbuser Administrator –dbpassword manage -t c:\temp\EmailTempConfig.xml