1.0.2 • Published 2 years ago

smtps v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

SMTPs

Work is very much under construction, will publish it as soon as we can

Simple, Open, Interface for sending email without relying on any third party.

How to install

  1. Install the smtps-demon for linux.
  2. Use interfaces
$ npm i smtps
const smtps = require("smtps");
const connection = await smtps.connect("http://127.0.0.1:4533");

//  Will change it to something else

const userHandle = await connection.logInUser({
    email : "test@email.com",
    password : env.emailpassword
});

const res = await userHandle.makeEmail({
    email : "test@anotherserver.com",
    mailOptions : {
        cc : "testio@ggcc.com",
        dc : "testio2n@testioo.com"
    }
},{
    type : "raw",
    msg : "Hi, How you are doing today"
}).send()


if(res.code === SEND_EMAIL_RESPONSE_OK){
    console.log("Email has been send")
}else{
    console.log("opps!, something is wrong")
}
1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago