nodemailer / smtp-server

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

Quit commands #186

Closed xaviersanchezk closed 10 months ago

xaviersanchezk commented 1 year ago

Hello,

How should QUIT command be used in the script ? I can close with server.close() but it shows an error on the side of the client. How can I close connection gracefully ?

Thank you

andris9 commented 10 months ago

The connection is closed by the client, not the server. The server can only interrupt the connection, for example when the connection timeout is reached etc.