Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57644

Email-Ext does not send to users whose email address starts with '#'

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Not A Defect
    • Component/s: email-ext-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.164.3
      Email Extension Plugin ver. 2.66
    • Similar Issues:

      Description

      I've noticed that the email-ext plugin will not send out notifications to emails beginning with a '#', even though the job console states that it is doing so. For example:

      Build step 'Execute shell' marked build as failure
      Discard old builds...
      Email was triggered for: Failure - Any
      Sending email for trigger: Failure - Any
      Sending email to: #jenkinsadmin@company.com
      Finished: FAILURE

      The email-ext plugin is fine if the email does not begin with a '#'.

        Attachments

          Activity

          s_p_turner Steve Turner created issue -
          s_p_turner Steve Turner made changes -
          Field Original Value New Value
          Description I've noticed that the email-ext plugin will not send out notifications to emails beginning with a '#', even though the job console states that it is doing so. For example:
          {quote}Build step 'Execute shell' marked build as failure
          Discard old builds...
          Email was triggered for: Failure - Any
          Sending email for trigger: Failure - Any
          Sending email to: #jenkinsadmin@company.com
          Finished: FAILURE
          {quote}
          The email-ext plugin is fine if the email does not being with a '#'.
          I've noticed that the email-ext plugin will not send out notifications to emails beginning with a '#', even though the job console states that it is doing so. For example:
          {quote}Build step 'Execute shell' marked build as failure
           Discard old builds...
           Email was triggered for: Failure - Any
           Sending email for trigger: Failure - Any
           Sending email to: #jenkinsadmin@company.com
           Finished: FAILURE
          {quote}
          The email-ext plugin is fine if the email does not begin with a '#'.
          Hide
          davidvanlaatum David van Laatum added a comment -

          If it says sending then it at least tried to send to that address. Have you checked your mail servers logs to see what happened to it? Chances are it was either spammed or sender restrictions on the destination address dropped it.

          Show
          davidvanlaatum David van Laatum added a comment - If it says sending then it at least tried to send to that address. Have you checked your mail servers logs to see what happened to it? Chances are it was either spammed or sender restrictions on the destination address dropped it.
          davidvanlaatum David van Laatum made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Not A Defect [ 7 ]
          Hide
          s_p_turner Steve Turner added a comment -

          Hi David van Laatum,

          The mail server I'm using is administered by my organisation's IT department. Emails to names in the same domain without the hash are delivered successfully, so why those beginning with a hash are being handled differently is a mystery. I'll contact our IT dept. to take a look at the server logs.

          Thank you for taking the time to investigate.

          Regards,

          Steve

          Show
          s_p_turner Steve Turner added a comment - Hi David van Laatum , The mail server I'm using is administered by my organisation's IT department. Emails to names in the same domain without the hash are delivered successfully, so why those beginning with a hash are being handled differently is a mystery. I'll contact our IT dept. to take a look at the server logs. Thank you for taking the time to investigate. Regards, Steve

            People

            • Assignee:
              davidvanlaatum David van Laatum
              Reporter:
              s_p_turner Steve Turner
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: