SmtpServer
SmtpServer copied to clipboard
Add Resilience Features
Adds option to enforce the message size limit in all commands. Adds option to set a timeout for all client responses.
Mainly, the DATA command should not read infinitely from the client.
The changes for MaxMessageSize should be backwards compatible. The changes for ResponseWaitTimeout could be considered breaking changes, but I don't think someone would like to wait more than 5 minutes for a client to send something.