EDIT: [WARNING!] README:
It's a third party library that connects to an external server, take care
with the information that you are sending.
Another solution on JS you can use a library named smtpjs
Add following library your html on header:
<script src="https://smtpjs.com/smtp.js"></script>
Use this without security:
Email.send("from@you.com",
"to@them.com",
"This is a subject",
"this is the body",
"smtp.yourisp.com",
"username",
"password");
Use this with security:
Email.send("from@you.com",
"to@them.com",
"This is a subject",
"this is the body",
{token: "63cb3a19-2684-44fa-b76f-debf422d8b00"});
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…