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

Jenkins isn't sending email, also saw NoClassDefFoundError: hudson/tasks/Mailer

    XMLWordPrintable

Details

    Description

      Jenkins has stopped sending emails. In the Config for builds, under Post-Build Actions > Editable Email Notification, an ERROR link when clicked shows the following error:
      javax.servlet.ServletException: java.lang.NoClassDefFoundError: hudson/tasks/Mailer

      Build success emails are not coming through either, though console output for the build says email was triggered: "Email was triggered for: Success
      Sending email for trigger: Success"

      Attachments

        Issue Links

          Activity

            slide_o_mix Alex Earl added a comment -

            Can you try downgrading to 1.4?

            slide_o_mix Alex Earl added a comment - Can you try downgrading to 1.4?
            flyingchipmunk Matthew Veno added a comment -

            I downgraded email-ext to 2.27.1 and now I'm seeing build emails again.

            flyingchipmunk Matthew Veno added a comment - I downgraded email-ext to 2.27.1 and now I'm seeing build emails again.
            slide_o_mix Alex Earl added a comment -

            Have you tried any version in between 2.32 and 2.27.1?

            slide_o_mix Alex Earl added a comment - Have you tried any version in between 2.32 and 2.27.1?
            flyingchipmunk Matthew Veno added a comment -

            No I haven't. That was the version presented as a downgrade option in the manage plugins page.

            flyingchipmunk Matthew Veno added a comment - No I haven't. That was the version presented as a downgrade option in the manage plugins page.
            slide_o_mix Alex Earl added a comment -

            If you're still feeling adventurous, can you try installing the snapshot for 2.33 from here: https://buildhive.cloudbees.com/job/jenkinsci/job/email-ext-plugin/188/org.jenkins-ci.plugins$email-ext/

            slide_o_mix Alex Earl added a comment - If you're still feeling adventurous, can you try installing the snapshot for 2.33 from here: https://buildhive.cloudbees.com/job/jenkinsci/job/email-ext-plugin/188/org.jenkins-ci.plugins$email-ext/

            People

              slide_o_mix Alex Earl
              jravetch Jared Ravetch
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: