Contact form 7 sending letters to different addresses depending on the choice of menu item in the form
Today I faced the problem of sending emails to different addresses.. In my case, the user had to send mail, but at the same time choose which of the company's offices the mail should come to.
Digging on the Internet, then a little more and a little more I came across one great lesson.
To select the desired office, I chose Dropdown menu in CF7 plugin, further in the data entry fields entered the value through a vertical slash | .
At the same time, emails themselves will not be displayed in html, just the perfect solution. This field can also be used to select which department to contact or, for example, which specialist to send an email to..
In order for the Contact form plugin 7 sent the data to the desired mail, we need to indicate on the tab Letter in field
To whom menu item shortcode.
Video tutorial on sending emails to different addresses using the Contact form plugin 7
I will not paint for a long time how it is done, because I managed to find a video lesson in English, but everything is clear even without knowing English.
/*
- Basic web design course;
- Site layout;
- General course on CMS WordPress and continuation of the course on template development;
- Website development in PHP.