I'm creating a WordPress site where users can search for people (custom post type and taxonomies) and narrow their choices down using a search form (select, radio buttons etc). When the results are shown I want the user to be able to email all the people (custom post type) that are shown in the search results. The email addresses that I need will be entered as a field in each custom post type using 'advanced custom fields'.

When the search form results are shown I can loop through and see all the email addresses but I need to be able to dynamically add these to the 'contact form 7' plugin.

I've found and installed the 'dynamic text extention' plugin but I can't figure out how I would be able to add multiple email addresses that I need.

Any advice would be appreciated!

closed as off-topic by Howdy_McGee Apr 24 '17 at 14:26

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.