An Independent Development Company


Contact Form 7 Dynamic Recipient Based on Select Drop Down

We recently had a project where we wanted to use Contact Form 7 where the user’s message would send to different email addresses based on a drop-down selection menu. The solution involved using the “wpcf7_before_send_mail” filter and then accessing the data to run a conditional. After some trial and error, the final code is below, let us know your thoughts in the comment section below:


Exactly what I needed! Thanks for sharing.

Posted by Chris on January 23, 2022 Reply

Join The Discussion:

Your email address will not be published. Required fields are marked *

We’re Here To Help

Need a hand with developing custom coding solution for WordPress? Look no further. UI Design, UX Strategy and Development know-how at your service!

Contact us

We’re here to help with your CMS website.

Tell us about what you’re looking to do, or simply say hello. We’re excited to hear from you.

    We Value Your Privacy. We’ll never sell or share your data.