Skip to content

Document comma-separated recipients in the form Send email action#778

Open
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/form-send-email-multiple-recipients-7.2
Open

Document comma-separated recipients in the form Send email action#778
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/form-send-email-multiple-recipients-7.2

Conversation

@promptless-for-oss

Copy link
Copy Markdown

Open this suggestion in Promptless to view citations and reasoning process

Adds a note to the "Send Form results" form action in components/forms.rst clarifying that the To, CC, and BCC fields accept multiple comma-separated email addresses. Grounds the existing in-product tooltip now that mautic/mautic#16271 fixes saving multiple addresses.

Trigger Events


Tip: Whenever you leave a comment tagged @Promptless on a Promptless PR, Promptless will remember it for future suggestions 🧠

The form Send email action (Send Form results) exposes To/CC/BCC fields
that accept comma-separated addresses, but this was not documented. Adds a
note clarifying that multiple addresses can be separated with a comma.

Refs mautic/mautic#16271
Comment thread docs/components/forms.rst

If you have Contact Owners set in Mautic, you can also send the notification directly to the Contact's owner. It's also possible to send a copy of the Email to the Contact.

Use the 'to', 'cc', and 'bcc' fields to set who receives the notification. To send to more than one address in any of these fields, separate the Email addresses with a comma.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documented that the To/CC/BCC fields of the form Send email action accept comma-separated addresses. PR #16271 changes ToBcBccFieldsTrait.php so the to, cc, and bcc fields validate each comma-separated address individually (via a Callback constraint) instead of rejecting multiple addresses, matching the mautic.core.send.email.to.multiple.addresses tooltip ("Separate multiple emails with a comma."). The trait is used by SubmitActionEmailType.php, the form action labeled "Send form results" in the UI.

Source: mautic/mautic#16271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant