Send emails to addresses in a repeater?

By: Jon Rose | Asked: 02/09/2023
ForumsCategory: General questionsSend emails to addresses in a repeater?
Jon Rose asked 1 year ago
I have a repeater field, in which I ask for email addresses (among other things).
When the form is updated, I'd like to send an email to all the addresses listed in the repeater. I know how to trigger emails normally,  but I can't seem to find a way to do this - can anyone help?
Many thanks.
1 Answers
Rob LeVineRob LeVine answered 1 year ago

I suggest looking at this post.  You can use the solution for your use as well.

Jon Rose replied 1 year ago

Hey thanks Rob. Something weird happened; our software/webdev guy was in today, so I asked him if he could shed any light. First thing he tried was simply putting the shortcode for the field in the email target field - and it worked. This is weird, because it was the first thing I tried, and it didn't. I tried it again, and it did. So in conclusion, the answer is much simpler than either you or I thought - just put the field from within the repeater (not the repeater code itself) in the 'Send to' field, and that seems to work. Who'd a thunk it? Thanks again, anyway.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right