[JIRA] Created: (HUDSON-8526) Email address constructed incorrectly even though configured correctly

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-8526) Email address constructed incorrectly even though configured correctly

Kohsuke Kawaguchi
Administrator
Email address constructed incorrectly even though configured correctly
----------------------------------------------------------------------

                 Key: HUDSON-8526
                 URL: http://issues.hudson-ci.org/browse/HUDSON-8526
             Project: Hudson
          Issue Type: Bug
          Components: email-ext
         Environment: Linux
Hudson 1.392
email-ext 1.29
            Reporter: ffouvry
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira