Is there a way you can send an email to a distribution list? This is not working as only the individual email addresses are working fine. Is there any setting that i am missing?
To send email, the plugin needs the smtp configured. Go to Manage Jenkins > Configure System > search for “Extended E-mail Notification”. Configure the smtp. Example: My configuration with gmail smtp.
Sends an email to the the culprits, requestor and developers of the previous build(s). Sends email to the user who initiated the build. Sends email to the list of users who committed changes in upstream builds that triggered this build.
Go to Jenkins dashboard. Go to the Jenkins home page and click the 'Manage Jenkins' menu option. Then, select the 'Configure System' option. Go to the E-mail notification section and enter the required SMTP server and user email-suffix details.
Select “Configure”. Select “Add post-build action” and Click “E-Mail Notification”. Enter your recipients mail address and select first option “Send e-mail for every unstable build”. Click “Save” button.
I dealt with this issue and found out it had to do with mail server restrictions put in place by Sys Admins at my workplace.
A lot of places have rules in place regarding which users or servers can access distribution lists, so the first thing I would do is ask your SA team if such restrictions exist.
Another thing to try (as another answer stated) is setting default content type to text/html
- assuming above restrictions aren’t the cause.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With