Support » Plugin: Contact Form 7 » sending to two different recipients

  • Resolved andrewetrusco

    (@andrewetrusco)


    Hi, I ask you for a little support. I need to send an information request to two different recipients, the choice is made with a drop-down menu. This is the form code:

    <label> Il tuo nome (richiesto)
    [text* your-name] </label>
    <label> La tua email (richiesto)
    [email* your-email] </label>
    <label> Oggetto
    [text your-subject] </label>
    <label> Quale Istituto vuoi contattare?
    [select your-recipient “Istituto professionale M.Polo|andrea.rossi@nomedominio.it”
    “Istituto Tecnico C.Cattaneo|itcatt@nomedominio.it”]</label>
    <label> Il tuo messaggio
    [textarea your-message] </label>
    [submit “Invia”]

    In the “Mail” section in the To: field, I entered the tag
    [Your-recipient] <andrea.rossi@nomedominio.it>, <itcatt@nomedominio.it>

    Unfortunately, once the form has been completed with the choice of one of the recipients, the mail arrives to both. How can I change to make sure that by not choosing a recipient the message does not arrive at both?

    Thanks for the attention

    The page I need help with: [log in to see the link]

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

    (@takayukister)

    Just set [your-recipient] in the To field. Also, you need to make the select field required by using select* instead of select.

    Thread Starter andrewetrusco

    (@andrewetrusco)

    Thank you! I’ve corrected select with select *.
    The following setting can not be corrected?
    [Your-recipient] <andrea.rossi@nomedominio.it>, <itcatt@nomedominio.it>
    I ask you to be patient, but how do I set the two e-mail addresses with the [Your-recipient] tag in the To field?

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    You are using pipes in the drop-down menu so you don’t need <andrea.rossi@nomedominio.it>, <itcatt@nomedominio.it> here.

    Thread Starter andrewetrusco

    (@andrewetrusco)

    Takayuki Miyoshi THANK YOU! You are a great man, without your help I would not have understood how to do … have a good day!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘sending to two different recipients’ is closed to new replies.