Support » Plugins and Hacks » [Resolved] [Plugin: Contact Form 7] Dynamic email in form?
6 years, 2 months ago
How would I go about having a form sending to different emails based on subject?
Like if the subject was “general”, it would send to email@example.com and “comments” subject would send the email to firstname.lastname@example.org ?
You can create a radio or dropdown list with the emails. They would choose the email they wanted it to send to. Then post that short code in the “to:” section of the email.
[select* to-email include_blank “email@example.com” “firstname.lastname@example.org” “email@example.com”]
This might be useful.
Contact Form 7: Selectable Recipient with Pipes