Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-5245

With the "Send EMail" job entry setting the "Secure connection type" to "TLS" and not setting the port to "587" will cause the job to hang when executed.

    Details

    • Type: Bug
    • Status: Open
    • Severity: Low
    • Resolution: Unresolved
    • Affects Version/s: 4.1.1
    • Fix Version/s: Backlog
    • Component/s: Job Entry
    • Labels:
      None
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      Reproduction steps:

      1. See attached file, sendEmail.kjb, It sends an email using SSL correctly.
      2. Change the recipients and senders email so that you can test.
      3. Run the job and confirm that the email was sent.
      4. in the "Send email" step change the "secure connection type" in the "server" tab to TLS.
      5. Run the job. It will not finish.

      Line 1194 of JobentryMail never returns:

                  transport.connect(environmentSubstitute(Const.NVL(server, "")), Integer
                      .parseInt(environmentSubstitute(Const.NVL(port, ""))), environmentSubstitute(Const.NVL(
                      authenticationUser, "")), environmentSubstitute(Const.NVL(authenticationPassword, "")));
      

        Issue Links

          Activity

          Hide
          sflatley Sean Flatley (Inactive) added a comment -

          This behavior was detected in this case.

          Show
          sflatley Sean Flatley (Inactive) added a comment - This behavior was detected in this case.
          Hide
          nancloud2land Nan Ai added a comment -

          I also detected this problem.
          Of course the correct port for TLS/STARTTLS is 587. But the program not responding to the wrong parameter seems to be a bug of the imported Java library to me.

          Show
          nancloud2land Nan Ai added a comment - I also detected this problem. Of course the correct port for TLS/STARTTLS is 587. But the program not responding to the wrong parameter seems to be a bug of the imported Java library to me.
          Hide
          paulogomes Paulo Gomes added a comment -

          it's happening because the timeout is not defined in this step
          is necessary add mail.smtp.timeout to define the timeout

          Show
          paulogomes Paulo Gomes added a comment - it's happening because the timeout is not defined in this step is necessary add mail.smtp.timeout to define the timeout

            People

            • Assignee:
              Unassigned
              Reporter:
              sflatley Sean Flatley (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: