Send faster, safer, customized emails.
Send emails securely using Frontend Javascript code only! No Backend required.
Get Startedsmtp.mail({
service : "gmail",
username: "sample@sample.com",
password: "encrypted-app-password",
encrypted: true,
to: "example@example.com",
from: '"hello" <hello@hello.com>',
subject: "Hello World",
body: "<h1>Hello World!</h1>",
})
.then((res) => {
console.log((res));
}).catch((err) => {
console.log((err));
})