smtp-server
smtp-server copied to clipboard
How to handle Timeout errors i.e. 421 Timeout - closing connection
Hi, After SMTP server authentication, I'am encountered "421 Timeout - closing connection" error in the my server. Please let me know how to handle this type of issues or errors. Thanks.
I got the same issue, did you fix that? @vinodhreddygs
I got the same issue, did you fix that?
` const server = new SMTPServer({ onData(stream, session, cb) {
}, disabledCommands: ['AUTH'], disableReverseLookup: true, logger: false, secure: false, hideSTARTTLS: true, hide8BITMIME: true, hidePIPELINING: true, hideSMTPUTF8: true }) `
Follow this code and it works like a charm @andrealeo83
I resolved following this https://github.com/nodemailer/smtp-server/blob/master/examples/server.js#L104 thanks to https://github.com/nodemailer/smtp-server/issues/160#issuecomment-779056674
This seems old but currently experiencing this issue from the client side ... tested on other client application like wordpress and it would work but for other applications like Laravel ... I get timeout.
Not sure where the problem is coming from.