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. If your server is not displayed in the view, you must add it to the view.
  4. When the Connect as dialog opens, type your username and password and click OK.
  5. Double-click the name of your Content Store to open a connection to it.
  6. Locate the templates folder in the repository's /system/scheduler folder.
  7. Right-click the templates folder and click Insert Documents.
  8. Click Add File and browse to select custom email template.
  9. In the Set Options:
    • Select Add.
    • Select Replace.
    • Clear Indexable.
  10. Click OK.
  11. Open the %SchedulerDir%/conf/schedule.xml file.
  12. 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>
  13. Edit the value attribute for the property element. Replace the default value of daily_reminder.xsl with the name of your custom email template.
  14. When you are done, save and close the schedule.xml file.
  15. 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:
      /sbin/service scheduler stop
      /sbin/service scheduler start