smtp js code example
Example 1: smtpjs cdn
<script src="https://smtpjs.com/v3/smtp.js"></script>
Example 2: smtpjs download
Email.send({
Host : "smtp.yourisp.com",
Username : "username",
Password : "password",
To : '[email protected]',
From : "[email protected]",
Subject : "This is the subject",
Body : "And this is the body"
}).then(
message => alert(message)
);