【发布时间】:2019-10-18 12:36:10
【问题描述】:
// create reusable transporter object using the default SMTP transport
transporter = nodemailer.createTransport({
host: 'smtp.gmail.com',
port: 465,
secure: true,
auth: {
user: 'yourEmail',
pass: 'yourPassword'
}
});
{ [错误:无效登录] 代码:'EAUTH',响应:'534-5.7.14 请通过您的网络浏览器登录并\n534-5.7.14 然后尝试 再次。\n534-5.7.14 在 n534 5.7.14 了解更多信息 https://support.google.com/mail/answer/7875477sm13524842wml.20 - g smtp',响应代码:534 }
【问题讨论】:
标签: node.js gmail nodemailer