How send message to different e-mail boxes?

Problem: How send message to different emails boxes in depending choice of user in contact form?

Send message to different e-mails in depending choice

Solution: We'll use plugin Contact Form 7.

Step 1: Open Contact Form, Form tab, add "Select" element:

[select* business-line class:form-control id:sel first_as_label "- Please Select -" "Sales Enquiries | lorem@lorem.com, lorem-1@lorem.com" "Product Information | ipsum@ipsum.com, ipsum-1@ipsum.com" "Partnerships | dolor@dolor.com, dolor-1@dolor.com" "Career Opportunities | sit@sit.com, sit-1@sit.com" "Developer Program | amet@amet.com, amet-1@amet.com" "Other | consectetur@consectetur.com"]

Step 2: Open Mail tab, in the field "To" add business-line. If in the message body need pass which exactly select value was choose (not email, but select element value) write  [_raw_business-line].

Leave Comment

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