问题:
如上
参考:
javascript - nodemailer: Connection closed unexpectedly - Stack Overflow
解决办法:
如果端口用的465,需要加上 secure: true
之前没加导致上述报错