How to make a select field for multiple email contacts?

Question
How to make a select field for multiple email contacts?
I’d like the user to be able to choose to send message to either webmaster, sales, or customer service depending on which selection they choose.

Answer
Yes this is possible. On the Basic settings tab of the form edit page, you can set this with the “Email To:” setting. This sets the Email address the messages are sent to. Here are some examples:

Single “Email To:” contact:
email-to-single

Selectable “Email To:” contacts: Add as many contacts as you need, the drop down list on the contact form will be made automatically. Each contact has a name and an email address separated by a comma. Separate each contact by pressing enter. If you need to use a comma in the name, escape it with a back slash, like this: \,
If you need to add more than one contact, follow this example:
Webmaster,user1@example.com
Sales,user2@example.com
Customer Service,user3@example.com

email-to-multiple

email-to-multiple-form

Multiple Emails per contact. You can have multiple emails per contact using [cc]Carbon Copy. Separate each email with a semicolon. Follow this example:
Sales,user3@example.com;user4@example.com;user5@example.com

You can specify [cc]Carbon Copy or [bcc]Blind Carbon Copy by using tags. Separate each email with a semicolon. Follow this example:
Sales,user3@example.com;[cc]user1@example.com;[cc]user2@example.com;[bcc]user3@example.com

email-to-multiple-cc

How to change the label “Select a Contact:”
All form labels can be changed on the form edit page in the “Labels” tab. Any of these fields can be filled in to override the standard labels.

change-form-labels

Do you need help?

Donations by PayPal:

If you find this free contact form program/plugin useful to you, please consider making a small donation to help contribute to further development. My time is very limited and I get dozens of support emails every day. If you are not able to donate, that is OK. Thanks for your kind support! - Mike Challis

Donations by cash or check:
Mike Challis
PO Box 819
Long Beach WA 98631

Comments are closed.