• 分类:【Nodejs
  • 浏览【1628】
  • 评论【0】
  • 更新【2015-9-01 11:17:52】

var nodemailer = require('nodemailer'); var transporter = nodemailer.createTransport({ service: 'gmail', auth: { user: 'youname@gmail.com', pass: 'password' } }); transporter.sendMail({ from: 'youname@gmail.com', to: 'userna

阅读全文