Choose destination email in dropdown

entumas 30 Mar, 2016
Hi!

I want to make a form in which the user can choose who sends the email through a dropdown
I create a dropdown list containing 3 emails, and this has the value "name" of: "destino"
Then email settings I put "Dynamic to": "destino"
But the form isn't sent and print this error:
Mailer Error: You must Provide at Least one recipient email address.
I'm doing wrong?
How can I fix this problem?

Thanks!


--


Hola

Quiero hacer un formulario en el que el usuario pueda elegir a quien envia el email mediante un dropdown
Creo un dropdown que contiene la lista de 3 emails, y este tiene el valor "name" de "destino"
Luego en la configuración de email pongo Dynamic to: destino
Pero el formulario no se envia y me imprime este error:
Mailer Error: You must provide at least one recipient email address.
¿Que estoy haciendo mal?
¿Como puedo yo arreglar este problema?

Gracias
fasenderos 30 Mar, 2016
1 Likes
How did you set the value of each options in the dropdown as an email address?
Like this:

email1@email.com:email1@email.com
email2@email.com:email2@email.com
entumas 30 Mar, 2016

How did you set the value of each options in the dropdown as an email address?
Like this:


email1@email.com:email1@email.com
email2@email.com:email2@email.com



This way:

mail1@domain.com=Contact 1
mail2@domain.com=Contact 2
mail3@domain.com=Contact 3
entumas 30 Mar, 2016

Hi entumas,

Please see this FAQ

Bob


Uoooo!!! This works!!! Thanks Bob!!!
entumas 30 Mar, 2016
Bob, I encountered a problem, the email is sent, but I get 3 copies whenever you command.
In addition I receive copies all at the same time.
What can be wrong?
Thank you

--

Bob, he detectado un problema, el email se envia, pero me llegan 3 copias cada vez que lo mando.
Además las copias me llegan todas al mismo tiempo.
¿Que puede estar fallando?
Gracias
GreyHead 30 Mar, 2016
Hi entumas,

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

Note: if you are using the Easy Wizard you can turn on Debug on the Others tab in CFv4 or the Setup tab in CFv5.

Bob
entumas 30 Mar, 2016
Here it is.
I've tried with menu item, by including it in an article and module.
Always sent 3 times.😟

--

Aquí lo tienes.
Lo he intentado con item de menú, incluyendolo en un artículo y con modulo.
Siempre se envia 3 veces.😟
GreyHead 31 Mar, 2016
1 Likes
Hi entumas,

I don't see anything in your Form settings that would send the mail multiple times. There are only the two email actions.

It might be something with the mail server - but I have no idea what.

It can sometimes happen if the form re-loads or loops - there is nothing in your set up to do that but you might try adding a Submit Limit action from the Security actions group at the beginning of the On Submit event to see if that changes anything.

Bob
entumas 31 Mar, 2016
Yesterday rename the form and it seems that now works correctly.
I do not get it...
I'll do more tests
Thanks
GreyHead 31 Mar, 2016
Answer
1 Likes
Hi entumas,

The problem may have been with the form name - you can't use ñ in a form name.

I don't know why that would result in multiple emails though

Bob
entumas 31 Mar, 2016
I had already thought of that.
So I renamed the form "Espana", but the problem still existed.
So finally I renamed the form to a completely different name.
entumas 18 May, 2016
Hi!

The problem was that the form had a special character in the name (Contact_España).
I remove the special character and everything is work fine (Contact_Espana).

Thanks!
This topic is locked and no more replies can be posted.