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

Send to requester is using "name" rather than "id" to generate an email address

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • email-ext-plugin
    • None
    • Win Server 2012
      Jenkins 1.536
      Email-ext 2.35.1

      I am using Jenkins in conjunction with the Active Directory plugin, so users can login with their normail domain password.
      The users in Jenkins appear with the name from the AD (so the full name, with spaces etc.) and they don't have an email address.
      When setting email-ext to send an email to requestors of buils, it is still using the full name rather than the ID to generate an email.
      If this is by design then I would suggest an improvement in checking that the email is at least valid and try generate one with the Jenkins id + suffix.

      The error I get is:
      <<
      Sending to requester
      Failed to send e-mail to <name here> because no e-mail address is known, and no default e-mail domain is configured
      >>

            slide_o_mix Alex Earl
            tallmaris Leandro Tramma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: