Brian S
Brian S

Reputation: 35

Contact Form 7 Selectable Recipients with Pipe - Multiple Emails

Per Contact Form 7, this code works for sending to one email addresses for each selection. However, what if I need to send to more than one email address for each selection? What would the proper syntax be for sending to multiple email addresses for each selection? I've tested with a comma between email addresses but that does not seem to work. Any other suggestions?

[select* email-recipient “Sales|[email protected]” 
“Tech Support|[email protected]” 
“Inquiry|[email protected]”]

Upvotes: 1

Views: 1879

Answers (2)

iPraxa Inc
iPraxa Inc

Reputation: 556

Use Commas for multiple email id, here is the example,

[select* email-recipient "Sales|[email protected]" "Tech Support|[email protected],[email protected]" "Inquiry|[email protected],[email protected]"]

Upvotes: 3

charan kumar
charan kumar

Reputation: 2157

Use multiple select option of contact form7 in order to select multiple emails

[select* email-recipient multiple "Sales|[email protected]" "Tech Support|[email protected]"]

Upvotes: 0

Related Questions