I have a Freeform form that is a request for information. There are checkboxes in the form for various locations on the site. I want to dynamically send emails based on the checkboxes that are checked. Is that possible?
It is poorly written the way it is now. After the form is submitted, the coder added raw php to the response template to parse the locations and build a string for the "to" variable for the dynamic recipients. The mail was sent using the php "mail" command. They also put it inside a freeform entries tag pair. What happens is sometimes the mail does not send at all, and sometimes it sends duplicates, which are also sent at different times.
Any suggestions either with or without Expression Engine?