Forums

"Dynamic To" Mailer Error: You must provide at least one recipient email address.

grazianodemaio 20 Mar, 2020
Hallo and thanks for helping.
I want to use the "Dynamic to" field to send to client a copy of the email.
I setup the Dynamic to field with the field name of the form (email field)
I left blank the normal filed "to" and if I get this error when I send the form:
(it seems that the field "TO" is mandatory"


  • Mailer Error: You must provide at least one recipient email address.
Il messaggio è stato inviato correttamente!

Data Array
Array
(
    [option] => com_chronoforms5
    [chronoform] => test
    [event] => submit
    [Nomecognome] => name
    [Email] => email@emai.it
    [azienda] => ggg
    [g-recaptcha-response] => 03AHaCkAadNSjkhZJJ_FpA0wBaRqwM-GdkuEoGeg-iaNrfG69Ud8DKu8EQ0Uvpp10Wv0REYARkfIwPuMsqrguqCoweX8otSQDf2C4Jppi3smy5p4TV5BFfOFlWZA3bchTZyyv2HdBJSWlChR2bOeBl_T__NjiTWhPdbwpQa2ZJmr6Qa8Ogzuah_kCmPfznfuGJfAcV6K8nzNBbSgCK0DouJnLoB-q3ySblVq67afV5l969G5PdmJjk0kcpkuqOLf2uZTs89GJB8gvB8EyOgC53LaIqVMmNNwEysZzZifyIwAJqmUMj2QGMwdFKG9NsHKvaehzN_G5VZNwAULY51puLGHCGwwgaaYJBGWczFzJrBIIMXWyqKGtwlY08jsLAIGvquYNCMtSbq99o
    [checkbox8] => 1
    [Invia] => Invia
    [ip_address] => 87.248.55.13
)
Array
(
)

Errors
Array
(
)

Debug Info
Array
(
    [0] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:graziano.demaio@gmail.com
                    [2] => Subject:Mail da sito Simco
                    [3] => From name:Simco
                    [4] => From email:sito test
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:email
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Array
                        (
                        )

                    [11] => Body:
<b>Riepilogo dati per partecipazione a Webinar6:</b><br /><br />

Nome e cognome: name<br />
Email: email@emai.it</td></tr><br />
Azienda ggg<br /><br />

Staff Simco Consulting

                )

        )

    [28] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below could NOT be sent:
                    [1] => To:
                    [2] => Subject:Webinar Simco Consulting test
                    [3] => From name:Simco Consulting
                    [4] => From email:info@simcoconsulting.it
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Array
                        (
                        )

                    [11] => Body:
<b>Riepilogo dati per partecipazione a Webinar:</b><br /><br />

Nome e cognome: name<br />
Email: email@emai.it</td></tr><br />
Azienda ggg<br /><br />

Staff Simco Consulting
<br /><br />IP: 87.248.55.13
                )

        )

)
GreyHead 20 Mar, 2020
Hi grazianodemaio ,

What exactly do you have in the Dynamic To box - it looks as though the element name is Email with a capital E.

Bob
grazianodemaio 23 Mar, 2020
Hi Bob, I have Email in the Label and email in the field name, thanks for helping


GreyHead 23 Mar, 2020
Hi grazianodemaio,

That looks correct but it is not what is showing in the Debugger output you posted. Please can you post a link to your form so we can take a quick look.

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