1.1.0 • Published 3 years ago

jsmtp v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Early release, will come updates eventually

JSMTP

let jsmtp = require('jsmtp');
jsmtp.start("mail.example.com", "127-0-0-1.ex.broadband.net", "../mails/", fs.readFileSync('privkey.pem'), fs.readFileSync('fullchain.pem'), callback,false);
//           service             reverse                      dir          key                             cert                              cb
// you can put the key and cert to null to disable tls
// callback is of course optional, will tell you mail info when a mailer is exiting
function callback(mailInfo){
console.log(mailInfo);
}

jsmtp.send("mail.example", "smtp.example.com",587,"user@mail.example","touser@example.com","content",true);
//          service         server           port    from               to                 data      tls
1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago