Forums

Radio button for more email to

niwesa 27 Oct, 2016
I made a form with 2 radio buttons for diffferent recipients.

That works fine, but the form will now send to te recipient and to the email adress i have to use on the first tab.

But i don't want that, i only want the forms will send to the radio button choiced email and one BCC to the administrator.

The radio button choiced recipient may noet see that the form is also send to the dminstrator.

Is this possible?
GreyHead 28 Oct, 2016
Hi niwesa,

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
niwesa 28 Oct, 2016
Array
(
    [option] => com_chronoforms5
    [chronoform] => contact
    [event] => submit
    [Itemid] => 
    [recipients] => JvdBerg
    [radio9] => Mevrouw
    [text6] => Willems
    [text10] => 00-0000000
    [e_mail] => test@tesmail.eu
    [button7] => Verzenden
    [email_to_use] => rene@prentmail.nl
    [ip_address] => 2a02:a449:5e0:1:756d:4c3:4886:e82b
)
Array
(
)
Errors
Array
(
)
Debug Info
Array
(
    [3] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:rene@prentmail.nl, info@koophuizenzoeken.nl
                    [2] => Subject:Aanvraag"
                    [3] => From name:Administrator
                    [4] => From email:info@telgt.nl
                    [5] => CC:
                    [6] => BCC:info@prentmail.nl
                    [7] => Reply name:
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Body:
<table>
<tr><td>Kies uw makelaar:</td><td>JvdBerg</td></tr>
<tr><td>Aanspreekvorm</td><td>Mevrouw</td></tr>
<tr><td>Achternaam:</td><td>Willems</td></tr>
<tr><td>Telefoon:</td><td>00-0000000</td></tr>
<tr><td>E-mail:</td><td>test@tesmail.eu</td></tr>
</table><br /><br />IP: 2a02:a449:5e0:1:756d:4c3:4886:e82b
                )

        )

)



This is the mail:

Kies uw makelaar: JvdBerg
Aanspreekvorm Mevrouw
Achternaam: Willems
Telefoon: 00-0000000
E-mail: test@tesmail.eu



IP: 2a02:a449:5e0:1:756d:4c3:4886:e82b


The mail is send to rene@prentmail.nl and info@koophuizenzoeken.nl.

The problem is that rene@prentmail.nl may not see that even info@koophuizen.nl gets this mail.
GreyHead 29 Oct, 2016
Hi niwesa,

If you don't want the addresses to be seen by other recipients then you have to either use BCC - there are Dynamic BCC Email and Name boxes you can use - or send separate emails.

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