nodemailer / smtp-server

Create custom SMTP servers on the fly
Other
846 stars 145 forks source link

onClose handler not working #180

Closed titanism closed 2 years ago

titanism commented 2 years ago

The onClose handler does not seem to be working (e.g. options.onClose = function() { console.log('hello'); }).

This is most likely why #157 is not working.

titanism commented 2 years ago

Please ignore - this handler is with respect to sockets closing, not the actual server 👍

titanism commented 2 years ago

I was looking for this._closeTimeout - this signals that the server is closing.