Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins email-ext plugin Send email to a group

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?

like image 418
varun7447 Avatar asked Feb 15 '17 04:02

varun7447


People also ask

How do I send an email after every build in Jenkins?

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.

Which of the following is a function of the email ext plugin?

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.

How do I send an email from Jenkins to Gmail?

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.

How Jenkins can send email when build pass or failed?

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.


1 Answers

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.

like image 182
lax1089 Avatar answered Oct 10 '22 00:10

lax1089