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("[email protected]", //from
data.email, //to
"Demande de devis depuis bla.com",
"avec smtp.gmail.com",
"smtp.gmail.com",
"[email protected]",
"mypass");
Should I configure something more to make this work?