//版本是1.0.2的
var transporter = nodemailer.createTransport(smtpTransport({
service:'QQ',
auth: {
user: '[email protected]',
pass: '...............'
}
}));
错误信息是:Invalid login
//版本是0.7的
var transport = nodemailer2.createTransport("SMTP", {
host: "smtp.qq.com",
secureConnection: true,
port: 465,
requiresAuth: true,
domains: ["qq.com"],
auth: {
user: '[email protected]',
pass: '................'
}
});
错误信息是:Invalid login - 535 Authentication failed
这边的用户名密码难道不是自己的邮箱和密码吗?