jenkinsjenkins-pluginsemail-ext

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" <dev@mysite.com>, "Software QA" <qa@mysite.com>, "Project Management" <pmo@mysite.com>

OR without quotes …

Development <dev@mysite.com>, Software QA <qa@mysite.com>, Project Management <pmo@mysite.com>

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.

dev@mysite.com, qa@mysite.com, pmo@mysite.com

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


Solution

  • 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 <dev@mysite.com> or "Development" <dev@mysite.com>

    Multiples are supported as the usual comma separated list.