7

I'm sending emails using System.Net.Mail.SmtpClient. It has an EnableSsl property that seems to work most of the time, but now one user claims that his email provider will only accept connections with minimum TLS 1.2 and that he is trying to connect using TLS 1.1.

What versions of TLS can System.Net.Mail.SmtpClient use?

Walter Stabosz
  • 7,447
  • 5
  • 43
  • 75
Frisk
  • 743
  • 1
  • 7
  • 8
  • 1
    Is it using at least version 4.5 of the .NET Framework? Also, [Update .NET web service to use TLS 1.2](https://stackoverflow.com/q/45382254/1115360). – Andrew Morton Aug 15 '19 at 13:32
  • 1
    Thanks! It's using .NET Framework version 4.6.2. I'll ask the user to try making the changes to his web.config suggested in your link and see if that helps. – Frisk Aug 16 '19 at 09:38

0 Answers0