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.

To use your own email template:

  1. Create an XSL stylesheet to use as your email template.
  2. Open the TEXTML Administration perspective by clicking the TEXTML Administration shortcut on the tool bar. If the shortcut is not displayed, follow these steps:
    1. Select Window > Perspective > Open Perspective > Other
    2. Click TEXTML Administration.
    3. Click Open.
  3. In the TEXTML Administration view, double-click the server.
  4. If your server is not displayed in the view, add it by doing the following:
    1. To find the server name, click Window > Preferences and select IXIASOFT CCMS.
      In the TEXTML Server Connection section, the server name is the Hostname.
    2. Copy the Hostname and close the Preferences window.
    3. In the TEXTML Administration view, right-click and select Add Server.
    4. In the Server field, enter the server name.
      The Port field should fill automatically. If you need the port number, you can find it in the same place as the server name in the Preferences window.
    5. Click OK.
  5. When the Connect as dialog opens, type your username and password and click OK.
  6. Double-click the name of your Content Store to open a connection to it.
  7. Locate the templates folder in the repository's /system/scheduler folder.
  8. Right-click the templates folder and click Insert Documents.
  9. Click Add File and browse to select custom email template.
  10. In the Set Options:
    • Select Add.
    • Select Replace.
    • Clear Indexable.
  11. Click OK.
  12. Open the %SchedulerDir%/conf/schedule.xml file.
  13. 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>
  14. Edit the value attribute for the property element. Replace the default value of daily_reminder.xsl with the name of your custom email template.
  15. When you are done, save and close the schedule.xml file.
  16. 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