Sandesh JS

SMTP Email Sender

Get Started

1. Include the Script to your project.

<script src="https://sandesh.vercel.app/sandesh.js"></script>

2. Encrypt Your Password.

2. Mailing function is as follows.

Sandesh.bhej({
        host: "smtp.yourIsp.com",
        port: "yourIpsSslPort",
        username: "username",
        password: "encryptedPassword",
        to: "receiver@email.com",
        from: "sender@ips.com",
        subject: "This is the subject",
        body: "This is the body"
    }).then((m)=>{
        alert(m);
    });

Encrypt Your Password

Security

Whoa!, wait a minute. I don't want my SMTP credentials visible to the world!