Nodemailer got error: 'ECONNRESET' Code:'ESOCKET'
问题 I tried to send mail using Nodemailer by using my mail server. It work fine in localhost:8000 buy when I deploy my project to production mode It's got error: 'ECONNRESET' fyi: I use express for the backend and deploy this project on window server 2012 This is an error error cannot sendmail: Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:201:27) { errno: 'ECONNRESET', code: 'ESOCKET', syscall: 'read', command: 'CONN' Here is the code const nodemailer = require(