Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

Plugin Information

View Mailer on the plugin site for more information.

Older versions of this plugin may not be safe to use. Please review the following warnings before using an older version:

This plugin allows you to configure email notifications for build results

See the documentation here.

Changelog

New releases

Version 1.23 (Jan 4, 2019)

  • JENKINS-37812 - Send notification even if the build agent goes offline
  • JENKINS-55099 - Fix test issue when validating plugin against recent LTS (no production changes)
  • JENKINS-55292 - Use plugin's localization messages

Version 1.22 (Oct 19, 2018)

  • (plus) JENKINS-53467 - Make the plugin compatible with Jenkins Configuration-as-Code plugin
  • (info) PR #43 - Chinese localization was moved to Chinese Localization Plugin

Version 1.21 (Mar 26, 2018)

Version 1.20 (Mar 20, 2017)

  • SECURITY-372 (advisory) Emails were sent to addresses not associated with actual users of Jenkins.

If the security fix is undesirable in a particular instance, it can be disabled with either or both of the following two system properties:

  • -Dhudson.tasks.MailSender.SEND_TO_UNKNOWN_USERS=true: send mail to build culprits even if they do not seem to be associated with a valid Jenkins login.
  • -Dhudson.tasks.MailSender.SEND_TO_USERS_WITHOUT_READ=true: send mail to build culprits associated with a valid Jenkins login even if they would not otherwise have read access to the job.

Version 1.19 (Jan 31 2017)

Version 1.18 (Sep 4 2016)

  • Use the new display-url-api for user facing page links
  • Move i18n messages to own package namespace.

Version 1.17 (Apr 20 2016)

Version 1.16 (Oct 29 2015)

  • Fixed some findbugs warnings
  • Fix an encoding issue for the french locale
  • Made the plugin buildable with jdk 8

Version 1.15 (Feb 4 2015)

  • issue #26758 Charset is ignored (and incorrect) in MimeMessageBuilder

Version 1.14 (Feb 2 2015)

  • issue #26606 Recipient list tokenizer not including comma delim

Version 1.13 (Jan 23 2015)

  • issue #23074 Add convenience function for creating a standard MimeMessage

Version 1.12 (Nov 06 2014)

  • Better format for the X-Jenkins-Job header.

Version 1.12-beta-1 (Aug 25 2014)

Version 1.11 (Aug 18 2014)

Version 1.10 (Aug 06 2014)

  • (error) SECURITY-152: plaintext password vulnerability.

Version 1.9 (Jul 08 2014)

  • (plus) New extension point in mailer-plugin to exclude email recipients
  • (info) Mail resolvers return emails from user configurations if defined (JENKINS-19433)
  • (error) Suppress errors in MailResolvers to prevent their impact on external callers (JENKINS-23256)
  • (error) Prevent NullPointerException during the creation of failure e-mails (JENKINS-22695)

Version 1.8 (Dec 17 2013)

  • (info) Moved help files from Jenkins core (forgotten after split of plugin).

Version 1.7 (Dec 16 2013)

  • (error) NullPointerException from MailSender.createEmptyMail (JENKINS-20954)

Version 1.6 (Dec 05 2013)

  • (error) Form data binding fix to work with newer Jenkins versions (JENKINS-20226)
  • (error) Never wait for a prior build to complete merely to set a more accurate mail subject (JENKINS-20867)
  • No labels

6 Comments

  1. Unknown User (dejan2609)

    It seems that version 1.6 causing some issues: https://issues.jenkins-ci.org/browse/JENKINS-20954

  2. Unknown User (giga)

    Can this plugin be enhanced to support the following:

    https://stackoverflow.com/questions/44855143/jenkins-send-email-notification-only-if-last-n-builds-have-failed-not-per-run

    I have a job which runs every minute or 2 and sometimes the build fails and the next builds passes. For build failures, I'm using Editable Email Notification plugin in Jenkins.

    Either using this plugin or any other plugin/way, can I somehow configure Jenkins job to send me a failed build notification ONLY if the last 3 consecutive builds have failed? It's no fun to watch these builds fail and then succeed in the next run so I'm trying to reduce the frequency of such failure notifications OR make it more intelligent.

  3. Unknown User (deepakmantri)

    SMTP server address does not allow a host name ending with .io

  4. Unknown User (tusharmurudkar)

    For version 1.21 , post build failures the redirect URL seem to be picking up blue ocean URL rather than classic one.

  5. Unknown User (afrancoc2000)

    Is there a way to make Mailer pick the classic URL instead of the blue ocean's one?

  6. Unknown User (redhawk07)

    For version 1.23, is there a changelog anywhere?

    Currently, all pages that I found, say that version 1.23 is the current one, but none has a changelog entry for 1.23:

    https://plugins.jenkins.io/mailer

    https://github.com/jenkinsci/mailer-plugin/releases

    And also this wiki page itself only contains a changelog up to version 1.22.