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

Unable send email

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      After installed Mailer plugin version 1.13. I can not sending email to individuals who broke the build.

      See error:
      ERROR: Unable to send to address: michal_jenicek@xx.cz,lubos_strapko@xx.cz
      javax.mail.internet.AddressException: Illegal address in string ``michal_jenicek@xx.cz,lubos_strapko@xx.cz''
      at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:114)

      Problem is probably that there is inserted a comma instead of a space.

      After downgrading the old version 1.12 it works.

      Thank you for your the fix
      Petr Rocen

        Attachments

          Issue Links

            Activity

            Show
            tfennelly Tom FENNELLY added a comment - Guys, could you please try this fix and let me know if it work: http://maven.jenkins-ci.org:8081/content/repositories/snapshots/org/jenkins-ci/plugins/mailer/1.14-SNAPSHOT/mailer-1.14-20150129.154638-1.hpi
            Hide
            milkyman Horst Krause added a comment -

            The linked file is not available.
            Links should be: http://maven.jenkins-ci.org/content/repositories/snapshots/org/jenkins-ci/plugins/mailer/1.14-SNAPSHOT/mailer-1.14-20150129.154638-1.hpi

            Stacktrace:
            ERROR: Unable to send to address: user1@mycompany.tld,user2@mycompany.tld,user3@mycompany.tld
            javax.mail.internet.AddressException: Illegal address in string ``user1@mycompany.tld,user2@mycompany.tld,user3@mycompany.tld''
            at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:114)
            at hudson.tasks.Mailer.StringToAddress(Mailer.java:180)
            at jenkins.plugins.mailer.tasks.MimeMessageBuilder.toNormalizedAddress(MimeMessageBuilder.java:254)
            at jenkins.plugins.mailer.tasks.MimeMessageBuilder.addRecipients(MimeMessageBuilder.java:137)
            at jenkins.plugins.mailer.tasks.MimeMessageBuilder.addRecipients(MimeMessageBuilder.java:129)
            at hudson.tasks.MailSender.createEmptyMail(MailSender.java:380)
            at hudson.tasks.MailSender.createFailureMail(MailSender.java:260)
            at hudson.tasks.MailSender.createMail(MailSender.java:178)
            at hudson.tasks.MailSender.run(MailSender.java:107)
            at hudson.tasks.MailSender.execute(MailSender.java:101)
            at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.cleanUp(MavenModuleSetBuild.java:1064)
            at hudson.model.Run.execute(Run.java:1791)
            at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
            at hudson.model.ResourceController.execute(ResourceController.java:89)
            at hudson.model.Executor.run(Executor.java:240)

            Show
            milkyman Horst Krause added a comment - The linked file is not available. Links should be: http://maven.jenkins-ci.org/content/repositories/snapshots/org/jenkins-ci/plugins/mailer/1.14-SNAPSHOT/mailer-1.14-20150129.154638-1.hpi Stacktrace: ERROR: Unable to send to address: user1@mycompany.tld,user2@mycompany.tld,user3@mycompany.tld javax.mail.internet.AddressException: Illegal address in string ``user1@mycompany.tld,user2@mycompany.tld,user3@mycompany.tld'' at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:114) at hudson.tasks.Mailer.StringToAddress(Mailer.java:180) at jenkins.plugins.mailer.tasks.MimeMessageBuilder.toNormalizedAddress(MimeMessageBuilder.java:254) at jenkins.plugins.mailer.tasks.MimeMessageBuilder.addRecipients(MimeMessageBuilder.java:137) at jenkins.plugins.mailer.tasks.MimeMessageBuilder.addRecipients(MimeMessageBuilder.java:129) at hudson.tasks.MailSender.createEmptyMail(MailSender.java:380) at hudson.tasks.MailSender.createFailureMail(MailSender.java:260) at hudson.tasks.MailSender.createMail(MailSender.java:178) at hudson.tasks.MailSender.run(MailSender.java:107) at hudson.tasks.MailSender.execute(MailSender.java:101) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.cleanUp(MavenModuleSetBuild.java:1064) at hudson.model.Run.execute(Run.java:1791) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)
            Hide
            milkyman Horst Krause added a comment -

            The fix seems to work. No more exception for me.

            Show
            milkyman Horst Krause added a comment - The fix seems to work. No more exception for me.
            Hide
            tfennelly Tom FENNELLY added a comment -

            PR https://github.com/jenkinsci/mailer-plugin/pull/17

            Will cut a 1.4 release as soon as that goes upstream.

            Show
            tfennelly Tom FENNELLY added a comment - PR https://github.com/jenkinsci/mailer-plugin/pull/17 Will cut a 1.4 release as soon as that goes upstream.
            Hide
            tfennelly Tom FENNELLY added a comment -

            A 1.4 with this fix should be available now (released yesterday).

            Show
            tfennelly Tom FENNELLY added a comment - A 1.4 with this fix should be available now (released yesterday).

              People

              • Assignee:
                tfennelly Tom FENNELLY
                Reporter:
                procen Petr Rocen
              • Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: