I have several recipients, but only send one of them
-
Hello, we are working on the development of this site, which has a contact form, this we did using Contact Form 7 (5.1.1.) And Contact Form 7 Conditional Fields (1.4.1.), The version of my wordpress is 5.1.1. and we are working on DIVI in its latest version as well.
It happens that we use Contact Form 7 Conditional Fields, to give the user the option to select a Colombian department and then select one of the sellers of that department, depending on the vendor that is selected, a text message will be sent to his mail, but the form worked well until a week ago, and on Friday we found a flaw, we were carrying out sending tests to each contact of the form but we did not achieve it, because by clicking on send, we get the text “There was a error trying to send your message, please try again later.”, this is shown inside a red box. But, after trying all the options of drop-down, I realized that I select the last option to deploy the department, which for this case is “Valle”, if the shipment works.
This is the code we have in the form:
<div class=”cont-formulario”>
<div class=”cont-2col”>
[text* your-name class:label-form placeholder “Nombre”]
</div><div class=”cont-2col”>
[text* Apellido class:label-form placeholder “Apellido”]
</div><div class=”cont-2col”>
[email* your-email class:label-form placeholder “Correo electrónico”]
</div><div class=”cont-2col”>
[tel* Numero_telefonico class:label-form placeholder “Número Telefónico”]
</div><div class=”cont-2col”>
[select* Departamentos class:label-form placeholder “Departamento” “Antioquia” “Atlántico” “Bolívar” “Boyacá” “Caldas” “Cesar” “Chocó” “Córdoba” “Cundinamarca” “La Guajira” “Magdalena” “Putumayo” “Santander” “Sucre” “Tolima” “Valle”]
</div><div class=”cont-2col”>
[group Antioquia clear_on_hide]
[select* destinatario class:label-form placeholder “Asesor” “Arbey Vásquez|[email protected]” “Carlos Lopez|[email protected]” “David Vallejo|[email protected]” “Felipe Mariaka|[email protected]” “Julian Tobón|[email protected]”]
[/group][group Atlantico clear_on_hide]
[select* destinatario class:label-form placeholder “Asesor” “Carlos Guzmán|[email protected]” “Katrina Lux|[email protected]”]
[/group][group Bolivar clear_on_hide]
[select* destinatario class:label-form placeholder “Asesor” “Carlos Guzmán|[email protected]” “Katrina Lux|[email protected]”]
[/group][group Boyaca clear_on_hide]
[select* destinatario class:label-form placeholder “Asesor” “Arbey Vásquez|[email protected]” “Carlos Sánchez|[email protected]” “Nelson García|[email protected]”]
[/group][group Caldas clear_on_hide]
[select* destinatario class:label-form placeholder “Asesor” “Arbey Vásquez|[email protected]”]
[/group][group Cesar clear_on_hide]
[select* destinatario class:label-form placeholder “Asesor” “Carlos Guzmán|[email protected]”]
[/group][group Choco clear_on_hide]
[select* destinatario class:label-form placeholder “Asesor” “David Vallejo|[email protected]” “Felipe Mariaka|[email protected]”]
[/group][group Cordoba clear_on_hide]
[select* destinatario class:label-form placeholder “Asesor” “Felipe Mariaka|[email protected]”]
[/group][group Cundinamarca clear_on_hide]
[select* destinatario class:label-form placeholder “Asesor” “Alejandra Rios Gonzalez|[email protected]” “Arbey Vásquez|[email protected]” “Carlos Sánchez|[email protected]” “Jorge Alberto Rincón|[email protected]” “Nelson García|[email protected]” “Paola Lozada|[email protected]”]
[/group][group La_Guajira clear_on_hide]
[select* destinatario class:label-form placeholder “Asesor” “Carlos Guzmán|[email protected]”]
[/group][group Magdalena clear_on_hide]
[select* destinatario class:label-form placeholder “Asesor” “Carlos Guzmán|[email protected]” “Katrina Lux|[email protected]”]
[/group][group Putumayo clear_on_hide]
[select* destinatario class:label-form placeholder “Asesor” “Nelson García|[email protected]”]
[/group][group Santander clear_on_hide]
[select* destinatario class:label-form placeholder “Asesor” “Arbey Vásquez|[email protected]”]
[/group][group Sucre clear_on_hide]
[select* destinatario class:label-form placeholder “Asesor” “Carlos Guzmán|[email protected]” “Felipe Mariaka|[email protected]”]
[/group][group Tolima clear_on_hide]
[select* destinatario class:label-form placeholder “Asesor” “Carlos Sánchez|[email protected]”]
[/group][group Opcion_Valle clear_on_hide]
[select* destinatario class:label-form placeholder “Asesor” “Ana Piedrahíta|[email protected]”]
[/group]</div>
<div class=”cont-1col”>
[text* your-subject class:label-form-ancho placeholder “Asunto”]
[textarea* your-message class:label-form-ancho class:label-mensaje placeholder “Escriba su mensaje aquí”]
</div><div class=”boton”>
[submit class:boton-enviar “ENVIAR”]
</div>
</div>This is how the email module is configured:
To: [recipient]
From: Starpets <[email protected]>
Subject: Starpets “[your-subject]”
Additional headers: Reply-To: [your-email]
Message body:
From: [your-name] <[your-email]>
Department: [_raw_Departamentos]
Seller: [_raw_destinatario]
Subject: [your-subject]Message body:
[your-message]–
This message has been sent from a contact form in Starpets (https://www.starpets.com.co)The page I need help with: [log in to see the link]
- The topic ‘I have several recipients, but only send one of them’ is closed to new replies.