I am tired of writing php scripts so I am trying to work with www.smtpjs.com.
I included the script in the index.html:
<script src="js/smtp.js"></script>
and this is my js code:
Email.send("contact@maky.biz", //from
data.email, //to
"Demande de devis depuis bla.com",
"avec smtp.gmail.com",
"smtp.gmail.com",
"me@gmail.com",
"mypass");
Should I configure something more to make this work?