dotnet/runtime

Support implicit TLS for SMTP client

開放

#71,304 建立於 2022年6月26日

 (3 則留言) (0 個反應) (0 位負責人)C# (5,445 個分叉)batch import
area-System.Net.Securityenhancementhelp wanted

倉庫指標

星標
 (17,886 顆星)
PR 合併指標
 (平均合併 12天 11小時) (30 天內合併 661 個 PR)

描述

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.

貢獻者指南