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

Email address constructed incorrectly even though configured correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • email-ext-plugin
    • None
    • Linux
      Hudson 1.392
      email-ext 1.29

      Given:

      • a user configured with a name containing spaces (i.e. in People > <User> > Your Name) and a valid email address
      • hudson.model.User.get("First name Last name").getProperty(hudson.tasks.Mailer.UserProperty).getAddress() is assigned to an env variable
      • this variable is used by email-ext to send a configured mail

      Then, sending fails because a constructed address is used, containing the name (with spaces).
      When I replace the space with a ".", then it can send the mail, because the address is valid.
      I expect that the configured email address is used instead of a constructed one.

            Unassigned Unassigned
            ffouvry ffouvry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: