Skip to end of metadata
Go to start of metadata

 

if you configure your own e-mail job to be called in specific situations (e.g. when specific errors occur) then you can use the JobSchedulerManagedMailJob standard job-

Your job could then look like this:

 <job title = "Send Mail" order = "no">
      <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>

You can add your own text for the body. Additional parameters for attachments are available.

See also

 

Write a comment…