Help needed with Send Mail

I have a form that is partly populated from a query.

On Send, the data from the form is sent to Send Mail.

image

And the expression is $_POST.send_report_to.split(',') is used to form the repeat, ie in this case to send to three separate email addresses.

The problem is that it doesn’t work.

If I enter one email address on the form then it works. More that three then it fails with this error

message : "Invalid address: (to): neil@example.com,neil@example.tv,neilrigby@example.co.uk"

Here is the Send Mail

I can’t find any up-to-date tutorials for this which show an example like mine.

Also, I don’t know how “Output Filter” and “Output Fields” are used.

Can someone help please?

And here are the Steps

Community Page
Last updated: