Thread Starter
Ale
(@aleloiacono)
Just a quick update. I’ve check the source code of the page that holds the contact form. I understand that the “value” parameter for each dropdown option element, should be set to the e-mails address I’ve set in the form, using the pipe technique. However, the “value” parameter shows the words I placed before the pipe.
I’ve also check that the USE_PIPE constante is set to true in my Contact Form 7 installation.
Thank you!
I’ve followed the instructions, however, when I try to send a message through the form, I get an error message.
What error message do you get?
I have created the dropdown menu as per instructions and of course, I have set the corresponding tag in the “To” field of the message template. Can’t think of anything that could be causing this error.
How did you set the drop-down menu and the To field?
Thread Starter
Ale
(@aleloiacono)
Takayuki,
Thank you for replying!
The error message I get is in Spanish because my WP is in that language. In the CF7 panel, would be error message #2. The translation could be: “Your message failed to be sent. Please try again later or contact the administrator by other means”.
This is how I set the dropdown:
[select destinatario “Contacto General | email1@email.com”
“Experimendo San Luis | email2@email.com”
“Contrataciones | email3@email.com”]
Of course I’ve used real e-mail addresses.
And the “To” field is set to: [destinatario]
Thank you!
Thread Starter
Ale
(@aleloiacono)
I must add, when I remove the dropdown menu and use a “fixed” e-mail address in the “To” field, the contact form works perfectly.
Thank you!
[select destinatario “Contacto General | email1@email.com”
“Experimendo San Luis | email2@email.com”
“Contrataciones | email3@email.com”]
You don’t need space around pipes (|). Remove them.
Thread Starter
Ale
(@aleloiacono)
Great! It worked like a charm!
In the page that provides instructions to do this (http://contactform7.com/selectable-recipient-with-pipes/) it seems to have spaces around pipes. I suggest removing or including in text a warning saying: “You need to remove spaces around pipes. “
Thank you so much for your time! I really think this is the best contact form plugin I’ve found so far for WordPress!
Have a great day!