send mail in node js without password
const sendmail = require('sendmail')();
sendmail({
from: '[email protected]',
to: '[email protected]',
subject: 'Hello World',
html: 'Mail of test sendmail '
}, function (err, reply) {
console.log(err && err.stack)
console.dir(reply)
})