Support » Plugin: Contact Form 7 » Sending to multiple recipients with a select with labels

  • Resolved Malaiac

    (@malaiac)


    I’m pretty sure I’ve seen this explained somewhere else but cannot find it again.
    This is a contact form with multiple choices of recipients, with labels (to hide the email adresses and make it prettier)
    I want one choice to send the same email to TWO recipients.

    Email tab :
    To: [your-recipient]

    Form tab :
    [select your-recipient “General|contact@site.net” “Webmaster|webmaster@site.net” “Sales|sales@site.net”]

    If the visitor selects “General”, I want his email to be sent to both :
    contact@site.net
    AND
    sales@site.net

    I’ve tried :
    [select your-recipient “General|contact@site.net,sales@site.net” “Webmaster|webmaster@site.net” “Sales|sales@site.net”]
    without success

    What is the correct syntax ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    [select your-recipient "General|contact@site.net,sales@site.net" "Webmaster|webmaster@site.net" "Sales|sales@site.net"]

    This form-tag looks correct. What problem do you see?

    Oooh… it was an error with the “Advanced noCaptcha & invisible Captcha” plugin.
    The plugin was set to not show for logged in users, but CF7 saw a missing field and returned an error.
    Fixed ! Thanks for your answer !

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.