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

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

      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"

          [JENKINS-19083] Jenkins isn't sending email, also saw NoClassDefFoundError: hudson/tasks/Mailer

          Jared Ravetch created issue -
          Jared Ravetch made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]

          Alex Earl added a comment -

          Sounds like you don't have the Mailer plugin installed or enabled.

          Alex Earl added a comment - Sounds like you don't have the Mailer plugin installed or enabled.
          Jared Ravetch made changes -
          Attachment New: Screenshot_from_2013-08-07_13.png [ 24160 ]
          Jared Ravetch made changes -
          Attachment New: Screenshot_from_2013-08-07_13.png [ 24161 ]

          Jared Ravetch added a comment -

          It is installed and enabled. I added a screenshot.

          Jared Ravetch added a comment - It is installed and enabled. I added a screenshot.

          Alex Earl added a comment -

          I don't think that email-ext is the cause of your issue. The stack trace in the configure page shows nothing about email-ext, its all about the Mailer. Also, if Mailer is not available because of some issue, emails will not be sent, so I'd look at why the Mailer plugin is causing you an issue.

          Alex Earl added a comment - I don't think that email-ext is the cause of your issue. The stack trace in the configure page shows nothing about email-ext, its all about the Mailer. Also, if Mailer is not available because of some issue, emails will not be sent, so I'd look at why the Mailer plugin is causing you an issue.
          Jared Ravetch made changes -
          Component/s New: mailer [ 17522 ]
          Alex Earl made changes -
          Assignee Original: Alex Earl [ slide_o_mix ]

          Jared Ravetch added a comment -

          Odd because I can send test mails without issue. Why would that error show up below the Project Recipients List? I removed $DEFAULT_RECIPIENTS and did Apply and Save and now I don't see that error anymore.

          Jared Ravetch added a comment - Odd because I can send test mails without issue. Why would that error show up below the Project Recipients List? I removed $DEFAULT_RECIPIENTS and did Apply and Save and now I don't see that error anymore.

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

              Created:
              Updated:
              Resolved: