Skip to end of metadata
Go to start of metadata

you can define a monitor for a specific job which sends emails in case of

  • error
    success
  • job start

Please add the monitor as a pre/postprocessing to the job. The language is java and the class is com.sos.jitl.mail.smtp.SmtpMailMonitor

Please define the required parameters

  • The email on error will be sent when the paramteter MailOnError_to is set
  • The email on success will be sent when the paramteter MailOnSuccess_to is set
  • The email on job start will be sent when the paramteter MailOnJobStart_to is set

When you have a html body for your email, you must specify the parameter MailOnJobStart_content_type=text/html

An example job configuration with a html body