Document comma-separated recipients in the form Send email action#778
Open
promptless-for-oss wants to merge 1 commit into
Open
Conversation
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
|
|
||
| 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. |
Author
There was a problem hiding this comment.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
@Promptlesson a Promptless PR, Promptless will remember it for future suggestions 🧠