cosullivan / SmtpServer

A SMTP Server component written in C#
MIT License
690 stars 163 forks source link

SessionCreated - Block IP & Return SMTP Response #215

Open idblew opened 8 months ago

idblew commented 8 months ago

Following on from #195

Is there a way to return an SMTP response within SessionCreated prior to the disconnection/close of the pipe (e.g. SmtpReplyCode.ClientNotPermitted), as per your comment on #140