📅  最后修改于: 2022-03-11 15:04:26.990000             🧑  作者: Mango
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)
})