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

E-mail address with a slash character are considered invalid

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • email-ext-plugin
    • None
    • Jenkins 2.60.3, email-ext 2.58

      I create a job that does nothing and has a post build step to send an e-mail ("Editable email notification").

      When the recipient address contains a slash character, I get the following errors in the console output (debug mode enabled):

      Checking for pre-build
      Executing pre-build step
      Checking if email needs to be generated
      No emails were triggered.
      Checking for post-build
      Performing post-build step
      Checking if email needs to be generated
      Email was triggered for: Success
      Sending email for trigger: Success
      messageContentType = text/plain; charset=UTF-8
      Adding recipients from project recipient list
      Adding recipients from trigger recipient list
      Successfully created MimeMessage
      Sending email to: AB2-CD/EF@mydomain.com
      Error sending to the following INVALID addresses: AB2-CD/EF@mydomain.com
      SendFailedException message: Invalid Addresses
      Finished: SUCCESS
      

      According to RFC 3696, such an e-mail address is valid.

          [JENKINS-47764] E-mail address with a slash character are considered invalid

          Louis Parisot created issue -
          David van Laatum made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            davidvanlaatum David van Laatum
            tuxfighter Louis Parisot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: