Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sending email-ext messages to multiple recipients with friendly names

The Problem

I am using Jenkins with the email-ext plugin to send HTML formatted emails to several recipient groups (distribution lists).

When configuring the list of recipients I have used the following formats:

"Development" <[email protected]>, "Software QA" <[email protected]>, "Project Management" <[email protected]>

OR without quotes …

Development <[email protected]>, Software QA <[email protected]>, Project Management <[email protected]>

Using these configurations Jenkins will only email the initially listed recipient.

Update

The behavior appears to be the same using only the email addresses, and no friendly names.

[email protected], [email protected], [email protected]

The Question

Is it possible to use these friendly names when sending mails from email-ext, or have I made an assumption which turns out inaccurate?

I couldn't find documentation indicating either way.

Environment

Jenkins: 2.57
Email-ext: 2.57.2

like image 600
Chris Giddings Avatar asked Apr 27 '17 17:04

Chris Giddings


People also ask

How do I send a mass email with personalized names?

Create a label. Go to Google “Contacts” and choose a “Create a label” option to create an email list in Gmail comprising recipients to whom you want to send mass emails. Give the label the name you will easily recognize.

Can you send an email to multiple recipients by separating the addresses with a?

If you have a multiple recipient list, you can separate each address with a comma, semicolon, space or by pressing the enter key. Now, compose your new message and then select the Message tab and click the Send button.


1 Answers

The Answer

As it turns out, some of the email addresses in the recipients list were also listed in the Jenkins/Email-Ext "Excluded Recipients" list.

This list is found under Manage Jenkins >> Configure System >> Extended E-mail Notification >> Excluded Recipients

There is no output from email-ext or the job's console to indicate this was the case, so it took time to track down.

I may open an enhancement request with the plugin owner to add some console output related to indicating whether excluded recipients are configured on the job.

Conclusion

Just to be clear: email-ext DOES support using friendly display names in the following formats:

Development <[email protected]> or "Development" <[email protected]>

Multiples are supported as the usual comma separated list.

like image 167
Chris Giddings Avatar answered Sep 19 '22 18:09

Chris Giddings