SmtpServer
SmtpServer copied to clipboard
A SMTP Server component written in C#
When the connection is made, the server automatically responds with a 220 code followed by the Name and version. In a security audit, it was brought to our attention that...
.NET 7 made AllowRenegotiation on SslStream false by default to avoid the following potential vulnerability https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3555, I've added a setting to make it true in the event someone wants to...
My SMTP client (LSI MegaRAID disk controller driver) does not specify angle brackets in the MAIL FROM and RCPT TO commands. However, other mail servers (for example Exim4) do not...
Hi @cosullivan I thank you for this wonderful library, I want to use it as follows in my company. Email comes in to the SMTP Server using this library and...
While implementing MailerMessageStore.SaveAsync, When i deployed the service to a server. All emails were failing. Eventually to diagnose the issue I cloned and built the project locally. The DataCommand.ExecuteAsync can...
How does one see the bcc addresses in an MessageStore.SaveAsync override ? One can see the values in the IMessageTransaction.To container, but there is no apparent indication here which addresses...
I think it would make sense to replace the `lock` logic with a semaphore. https://github.com/cosullivan/SmtpServer/blob/cffd7df707cd0108e816b26659b277cb15a35db9/Src/SmtpServer/SmtpSessionManager.cs#L81 https://medium.com/@tyschenk20/mixing-traditional-locks-with-async-code-in-c-27431f857e01
Create a LinkedTokenSource in the SmtpSession with a Timeout https://github.com/cosullivan/SmtpServer/issues/226
When the session reaches the `DATA` part it can stay open forever there is no timeout that would close the session here. This allows the connection to remain open forever....
MaxMessageSize is only taken into account for `MAIL FROM`. However, it is not taken into account in the rest of the process. This means that larger mails are also accepted...