I'm tired of writing php scripts, so I'm trying to work with www.smtpjs.com .
I included the script in 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");
Do I have to set up something else to make this work?
Louis source share