Allow multiple recipients in email actions

Created on 17 July 2008, over 16 years ago
Updated 24 January 2023, almost 2 years ago

Problem/Motivation

It is not possible at the moment to send an email to multiple recipients without assigning multiple actions to a trigger.

Steps to reproduce

1. Install the Drupal Instance
2. Enable the Actions module
3. Go to configuration->Actions
4. Than Choose the Send email option in the dropdown option and Click the create button
5. Add the Title and Enter Multiple recipients e-mail address with comma separated. You can able to reproduce the issue.

Proposed resolution

Allows a comma separated list of email addresses to be used (rather than forcing a single value) by:
- splitting the string in "Recipient email address" field on boundaries formed by comma (,) or comma + space (, )
- iterating over recipients with foreach ($recipients as $recipient) or similar.

Remaining tasks

- Code review

Before/after behavior

Before:

After:

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Closed: duplicate

Version

10.1 ✨

Component
SystemΒ  β†’

Last updated 7 days ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States matt@antinomia

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.

Production build 0.71.5 2024