How to SEND MAIL using Nodemailer in Node js || Send Mail from Node js || Nodemailer || Node js

preview_player
Показать описание

code:

const nodeMailer = require('nodemailer')

service:'gmail',
auth:{
user:'your email',
pass:'your app password'
}
})

let mailContent = {
from:"your email",
to:'to email',
subject:'Test Mail',
text:"This is from coding comics"
}

if(err){
}else{
}
})

Рекомендации по теме
Комментарии
Автор

There is no app pass option. i didn't see anywhere

gunjankumartunga