com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <x.y@a.b>... User unknown

Jenkins JIRA | Martin Jost | 4 years ago
  1. 0

    Sending Email as part of a Jenkins job, ended with an error msg of the mailer, because one recipient was (no longer) present. In Jenkins this looks like an unhandled exception, making the job failed. Is this behaviour intentional ? To me it made it difficult to find that the actual test was ok. Here is the relevant part of the console output {quote}Sending e-mails to: x.y@a.b ERROR: 250 2.0.0 q6P8QAeb019946 Message accepted for delivery com.sun.mail.smtp.SMTPSendFailedException: 250 2.0.0 q6P8QAeb019946 Message accepted for delivery ; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <x.y@a.b>... User unknown at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:598) at javax.mail.Transport.send0(Transport.java:169) at javax.mail.Transport.send(Transport.java:98) at hudson.tasks.MailSender.execute(MailSender.java:114) at hudson.tasks.Mailer.perform(Mailer.java:111) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:656) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625) at hudson.model.Run.run(Run.java:1433) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <x.y@a.b>... User unknown at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584) ... 14 more Finished: FAILURE{quote}

    Jenkins JIRA | 4 years ago | Martin Jost
    com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <x.y@a.b>... User unknown
  2. 0

    Sending Email as part of a Jenkins job, ended with an error msg of the mailer, because one recipient was (no longer) present. In Jenkins this looks like an unhandled exception, making the job failed. Is this behaviour intentional ? To me it made it difficult to find that the actual test was ok. Here is the relevant part of the console output {quote}Sending e-mails to: x.y@a.b ERROR: 250 2.0.0 q6P8QAeb019946 Message accepted for delivery com.sun.mail.smtp.SMTPSendFailedException: 250 2.0.0 q6P8QAeb019946 Message accepted for delivery ; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <x.y@a.b>... User unknown at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:598) at javax.mail.Transport.send0(Transport.java:169) at javax.mail.Transport.send(Transport.java:98) at hudson.tasks.MailSender.execute(MailSender.java:114) at hudson.tasks.Mailer.perform(Mailer.java:111) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:656) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625) at hudson.model.Run.run(Run.java:1433) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <x.y@a.b>... User unknown at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584) ... 14 more Finished: FAILURE{quote}

    Jenkins JIRA | 4 years ago | Martin Jost
    com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <x.y@a.b>... User unknown
  3. 0

    Host key verification failure: Trying to launch ssh

    Google Groups | 3 years ago | Gupta
    com.sun.mail.smtp.SMTPAddressFailedException: 550 #5.1.0 Address rejected.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to send email notifications

    Google Groups | 5 years ago | Mehul Sanghvi
    com.sun.mail.smtp.SMTPAddressFailedException: 501 5.1.3 Invalid address
  6. 0

    Jenkins users - Unable to send email notifications

    nabble.com | 11 months ago
    com.sun.mail.smtp.SMTPAddressFailedException: 501 5.1.3 Invalid address

    21 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sun.mail.smtp.SMTPAddressFailedException

      550 5.1.1 <x.y@a.b>... User unknown

      at com.sun.mail.smtp.SMTPTransport.rcptTo()
    2. JavaMail API (compat)
      SMTPTransport.sendMessage
      1. com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
      2. com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
      2 frames
    3. JavaMail API
      Transport.send
      1. javax.mail.Transport.send0(Transport.java:169)
      2. javax.mail.Transport.send(Transport.java:98)
      2 frames
    4. Hudson
      Executor.run
      1. hudson.tasks.MailSender.execute(MailSender.java:114)
      2. hudson.tasks.Mailer.perform(Mailer.java:111)
      3. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      4. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703)
      5. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678)
      6. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:656)
      7. hudson.model.Build$RunnerImpl.post2(Build.java:162)
      8. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625)
      9. hudson.model.Run.run(Run.java:1433)
      10. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      11. hudson.model.ResourceController.execute(ResourceController.java:88)
      12. hudson.model.Executor.run(Executor.java:238)
      12 frames