Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

How to find and activate the style sheet, have you already looked up in the JobScheduler Wiki. You can find some parts in the style sheet, where the element <text> is displayede-mail stylesheet is described in the How to configure e-mail service in our FAQ. You can the parameter in the stylesheet which contains the <text> element. You can place your individual own text here. This applies then However, this would apply for the whole JobScheduler installation , but which and in our opinion is not to be recommended in my view.

It would be better for your purposes , if you write your own mail job, which then can be called in specific situations (e.g. occurring by when specific errors occur). You can use for this the JobSchedulerManagedMailJob standard job JobSchedulerManagedMailJob, its description : a description of this job can be found in the database of your installation directories, which is are located in the file jobs (in case folder. (Note that this only applies if you have installed the JobScheduler with the choice 'Job Package: Housekeeping Jobs' option.).

Your job could then look like this:

Code Block
    <job title = "Send Mails" order = "no" stop_on_error = "yes">
      <params>
        <param name="to" value="<mail_adress>" />
        <param name="from" value="<mail_adress>" />
        <param name="subject" value="this is my mail" />
        <param name="host" value="<smtp_server>" />
        <param name="queue_directory" value="c:\temp\smtp" />
        <param name="body" value="this is my body" />
      </params>
    <script language="java" java_class="sos.scheduler.managed.JobSchedulerManagedMailJob">
    </script>
 </job>

Here you can indicated an individual textYou can enter your own text here. There are separate parameters for attachments.