dotnet/runtime

Support implicit TLS for SMTP client

Open

#71.304 geöffnet am 26. Juni 2022

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (5.445 Forks)batch import
area-System.Net.Securityenhancementhelp wanted

Repository-Metriken

Stars
 (17.886 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 12T 11h) (661 gemergte PRs in 30 T)

Beschreibung

According to the SMTP client documentation the SmtpClient class supports STARTTLS (Explicit SSL/TLS) and there is no support support for implicit TLS.

There are several issue with STARTTLS:

1-According to RFC 8314 STARTTLS is depreciated and the recommended way is implicit TLS. 2- STARTTLS allows clients to switch to clear text which is a huge problem. 3-A lot of mail servers, firewalls and service providers block port 25 for various reasons and this port is used at first to start STARTTLS.

Implicit TLS is the way to go, please consider adding support for it.

Contributor Guide