Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

send mail in node js without password

const sendmail = require('sendmail')();

sendmail({
  from: 'test@finra.org',
  to: 'YOUR@gmail.com',
  subject: 'Hello World',
  html: 'Mail of test sendmail '
}, function (err, reply) {
  console.log(err && err.stack)
  console.dir(reply)
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #send #mail #node #js #password
ADD COMMENT
Topic
Name
7+3 =