You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Introduction

This article provides information on how to configure different mail parameters in JobSchedulerManagedMailJob.

A Simple JITL Send Email Example 

Following example shows a basic job configuration of JobSchedulerManagedMailJob. It is been configured to send email to a fix email Id along with fix email body and subject line. 

When JobSchedulerManagedMailJob does not specify mail server host, port, smtp user and smtp user password, JITL job will take the configuration from $SCHEDULER_DATA/config/factory.ini fils [smtp] section.

Simple JITL Send Email Job
<job  title="Send eMails" stop_on_error="no">
    <settings >
        <log_level ><![CDATA[debug9]]></log_level>
    </settings>
    <description >
        <include  file="jobs/JobSchedulerManagedMailJob.xml"/>
    </description>
    <params >
        <param  name="to"           value="jobscheduler-admin-group@sos-berlin.com"/>
        <param  name="from"         value="gollum.sos@sos-berlin.com"/>
        <param  name="from_name"    value="JobScheduler Gollum"/>
        <param  name="content_type" value="text/html"/>
        <param  name="body"         value="This is a test email."/>
        <param  name="reply_to"     value="jobscheduler-admin-group@sos-berlin.com"/>
        <param  name="subject"      value="Test Email"/>
    </params>
    <script  language="java" java_class="sos.scheduler.managed.JobSchedulerManagedMailJob"/>
    <run_time />
</job>

 

Configure subject or body text dynamically

 

x

Configure subject, body and attachment for incoming file

x

See also 

 

 

 

 

  • No labels