Using your own custom email template
Instead of using or modifying the email template provided by default, you can create your own email template and use it with the DailyReminder job.
About this task
To use your own email template:
Procedure
- Create an XSL stylesheet to use as your email template.
-
Click the TEXTML Administration shortcut on the toolbar
to open the TEXTML Administration perspective or take the following
actions:
- Select Window > Perspective > Open Perspective > Other
- Click TEXTML Administration.
- Click Open.
- In the TEXTML Administration view, double-click the server.
-
If your server is not in the view, add it by taking the following
actions:
-
To find the server name, click Window > Preferences and select IXIA CCMS.
In the TEXTML Server Connection section, the server name is the Hostname.
- Copy the Hostname and close the Preferences window.
- In the TEXTML Administration view, right-click and select Add Server.
-
In the Server field, enter the server
name.
The Port field fills automatically. If it does not and you need the port number, you can find it in the same place as the server name in the Preferences window.
- Click OK.
-
To find the server name, click Window > Preferences and select IXIA CCMS.
- When the Connect as dialog opens, type your username and password and click OK.
- Double-click the name of your Content Store to open a connection to it.
- Locate the templates folder in the repository's /system/scheduler folder.
- Right-click the templates folder and click Insert Documents.
- Click Add File and browse to select custom email template.
-
In the Set Options:
- Select Add.
- Select Replace.
- Clear Indexable.
- Click OK.
- Open the %SchedulerDir%/conf/schedule.xml file.
-
Locate the DailyReminder job as follows.
For example:
<job useClass="com.ixiasoft.cms.plugins.DailyReminder" enable="false"> <!-- You can add the tag <textml>, <dita.out>, or <smtp/> to override the default value --> <schedule> <when>10 2 * * *</when><!-- The job will run at 2:10 am --> </schedule> <configuration> <property name="transform.xsl" value="daily_reminder.xsl"/> </configuration> </job>
-
Edit the
value
attribute for theproperty
element. Replace the default value of daily_reminder.xsl with the name of your custom email template. - When you are done, save and close the schedule.xml file.
-
Restart the CCMS Scheduler service:
- On Windows: Open the Services console, right-click Ixiasoft Scheduler and click Stop, and then right-click Ixiasoft Scheduler and click Start.
- On Linux: Run the following commands:
systemctl restart Scheduler