From a Java Class
To add an Email Template to CentraSite
1. Create an email template file as described in Creating a Custom Email Template. Copy the file somewhere within the file system of the machine where CentraSite is installed. 3. Execute the script file with the following parameters:
yourScriptFile-ttemplateFile-dbuser yourCSUserID-dbpassword yourPassword
Example:
myScript -t d:\myDirectory\myEmailTemplate.html -dbuser jcallen -dbpassword j45Hk19a