我的代码是
var wellknown = require("nodemailer-wellknown")
var config = wellknown("Hotmail");
console.log(config)
config.auth = {
user:"ilovesunny112@hotmail.com",
pass:"XXXXX"
}
但最后我得到了以下错误。
{[错误:登录无效] 代码:' EAUTH', 响应:' 535 5.0.0身份验证失败', responseCode:535}