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.
The behavior appears to be the same using only the email addresses, and no friendly names.
[email protected], [email protected], [email protected]
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.
Jenkins: 2.57
Email-ext: 2.57.2
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.
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.
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.
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.
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