dimanche 20 février 2022

send multiply email for each selected checkbox

<input type="checkbox" value="company1" id="benefit1" name="benefit1">
<input type="checkbox" value="company2" id="benefit2" name="benefit1">
<input type="checkbox" value="company3" id="benefit3" name="benefit1">

How to send with php code to different email each selected checkbox? if checked company1 - send to email1 (as cc email) if checked company2 - send to email2 (as cc email) if checked company3 - send to email3 (as cc email)




Aucun commentaire:

Enregistrer un commentaire