Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-987

JobScheduler cannot send email.

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.5.3192
    • 1.5.3253
    • None
    • None

    Description

      Current Situation
      When sending email on success or on error in scheduler.log appears
      SCHEDULER-302 Error sending e-mail: Z-JAVA-105 Java exception javax.mail.internet.AddressException("Empty address"), method=set [from="Job Scheduler scheduler _id an ur:4444" <>]

      Workaround
      Please comment or delete the attribute from_name in the ./config/scheduler_mail.xsl
      ...
      <xsl:copy-of select="mail/header/@from_address" />

      <!--xsl:if test="$lang='de'">
      <xsl:attribute name="from_name">JobScheduler <xsl:value-of select="/scheduler_event/state/@spooler_id"/> an <xsl:value-of select="/scheduler_event/state/@host"/>:<xsl:value-of select="/scheduler_event/state/@tcp_port"/>
      </xsl:attribute>
      </xsl:if>
      <xsl:if test="$lang='en'">
      <xsl:attribute name="from_name">JobScheduler <xsl:value-of select="/scheduler_event/state/@spooler_id"/> at <xsl:value-of select="/scheduler_event/state/@host"/>:<xsl:value-of select="/scheduler_event/state/@tcp_port"/>
      </xsl:attribute>
      </xsl:if-->

      <xsl:copy-of select="mail/header/@to" />
      <xsl:copy-of select="mail/header/@cc" />
      <xsl:copy-of select="mail/header/@bcc" />
      ...

      Attachments

        Activity

          People

            oh Oliver Haufe
            ur Uwe Risse
            Oliver Haufe Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: