TO address based on multi-value select field: will that send multiple emails to the same email address?

Created on 10 December 2020, over 4 years ago
Updated 18 July 2025, 12 days ago

Problem/Motivation

Question: if a TO address is based on a multi-select field, and more than one choice in that field goes to the same email address, will multiple emails be sent to that address or only one?

Steps to reproduce

I have a webform with a multi-select field where the TO email depends on the values of that field. As an experiment I put my own email address as the email for all the field options, then submitted the form with multiple field values selected. I only received one email at that address. So, I guess something in the code is saying "only send it once".

Proposed resolution

Does this module work as I described in my test above? If so, there is no issue.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Closed: works as designed

Version

5.22

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Rick Hood

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡―πŸ‡΅Japan andrechun

    The above example didn't work for me. Not sure if there has been a change in token syntax. This seems to work: [webform_submission:values:select_multiple:join:, ]

    Notice the space character after the comma might be needed.

Production build 0.71.5 2024