Dynamic reciever of email 2?
Hi! Thank you for a great plugin.
I have a question / feature request:
Would it be possible to dynamically specify the reciever of email 2?
I have two scenarios where this would be useful. Both require the setup of a “base” form, for example a form that takes registration to events. This form would be used in several posts, for example multiple events (with different contact persons).
Setting it by shortcode
First scenario is a site where events are published as basic posts. In the bottom of the post I would add the shortcode for the contact form, but in addition to the regular shortcode parameteres, I would add “firstname.lastname@example.org”. That way, all registrations being entered to that event would also be emailed to email@example.com.
Grabbing reciever from custom field
Second scenario is a bit more advanced. Events are published as a custom post type. An email address is registered in a custom field. When setting up the contact form, in the reciever-field of email 2, I add the name of this custom field. Whenever someone publishes an event in the custom post type, they’ll add their email address in the custom field. Whenever a registration is submitted to the event, contact form sends a copy of the registration to the email in the custom field.
Do you think that would be possible now, or in a future upgrade?
Thanks again 🙂
- The topic ‘Dynamic reciever of email 2?’ is closed to new replies.