Versions Compared

Key

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

...

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

...

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

See example 01_SendEmail.job_chain.xml in the downloadable example.

...

As any other JITL job JobSchedulerManagedMailJob's parameters can also be configured dynamically using a pre processor -processing monitor. In the following example we will dynamically set the value for parameters subject and body

The outgoing mails body and subject will be dynamically configured depending upon week dayweekday.

See example 02_ProcessingDayEmail.job_chain.xml in the downloadable example.

...

A common use case for configuring subject, body and file attachment is when a job chain is triggered using a file order source and file should be attached with outgoing email or to the outgoing e-mail or the file name need needs to be specified in the mail's body text.

In the following example we will take a complex example of sending email e-mail with attachments, also following example shows how to crate create custom e-mail message body and on at run-time replace information such as the file name. 

In the following example a job is getting using a file name from JobScheduler's order parameter schedulerparameter scheduler_file_path.

See example 03_SendInvoiceEmail.job_chain.xml in the downloadable example.

...