cosullivan / SmtpServer

A SMTP Server component written in C#
MIT License
676 stars 160 forks source link

TLS broken in version 8 #145

Closed nopap closed 3 years ago

nopap commented 3 years ago

Hi, I think TLS is broken in version 8, i'm not able to handshake when IsSecure=true. Either with openssl s_client or from a C# piece of code or MailKit like in your sample. Same server code with SmtpServer version 7 works fine, handshake ok.

Or i'm missing something like a new option to set somewhere.

Thanks

cosullivan commented 3 years ago

Hi @nopap ,

Thanks for picking that up. I didn't actually have a unit test for that scenario so it slipped through the cracks when I was refactoring.

I have fixed this and pushed a new package version 8.0.3 to NuGet which should be available shortly.

Thanks, Cain.

nopap commented 3 years ago

All tested ok. Thanks.