Support » Plugin: Contact Form 7 » [Plugin: Contact Form 7] Dynamic email in form?
6 years, 7 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 firstname.lastname@example.org and “comments” subject would send the email to email@example.com ?
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 “firstname.lastname@example.org” “email@example.com” “firstname.lastname@example.org”]
This might be useful.
Contact Form 7: Selectable Recipient with Pipes