Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2020.3.X, 2021.3.X, 2022.1.X
Votes
9
Found in
2019.4
2020.3
2021.2
2022.1
2022.1.0b2
2022.2
Issue ID
1389326
Regression
No
System.Net.Mail.SmtpException: 421 4.7.66 TLS 1.0 and 1.1 are not supported error is throw when sending an email with SmtpClient
Reproduction steps:
1. Open the "SampleScene" Scene in the attached project "TLS_1_2.zip"
2. Enter the Play mode
3. Observe the Console
Expected result: Email is sent and "Email sent successfully" Debug is printed
Actual result: Email is not sent and "System.Net.Mail.SmtpException: 421 4.7.66 TLS 1.0 and 1.1 are not supported. Please upgrade/update your client to support TLS 1.2." exception is thrown
Reproducible with: 2019.4.36f1, 2020.3.29f1, 2021.2.12f1, 2022.1.0b2, 2022.1.0b8, 2022.2.0a5
Full error message:
Send failed: System.Net.Mail.SmtpException: 421 4.7.66 TLS 1.0 and 1.1 are not supported. Please upgrade/update your client to support TLS 1.2. Visit https://aka.ms/smtp_auth_tls. [FR0P281CA0040.DEUP281.PROD.OUTLOOK.COM]
at System.Net.Mail.SmtpClient+<>c__DisplayClass90_0.<SendAsync>b__0 (System.Object o, System.ComponentModel.DoWorkEventArgs ea) [0x0002c] in <ef151b6abb5d474cb2c1cb8906a8b5a4>:0
at System.ComponentModel.BackgroundWorker.OnDoWork (System.ComponentModel.DoWorkEventArgs e) [0x00019] in <ef151b6abb5d474cb2c1cb8906a8b5a4>:0
at System.ComponentModel.BackgroundWorker.WorkerThreadStart (System.Object argument) [0x0000e] in <ef151b6abb5d474cb2c1cb8906a8b5a4>:0
UnityEngine.Debug:Log (object)
SendMail:SmtpClientOnSendCompleted (object,System.ComponentModel.AsyncCompletedEventArgs) (at Assets/SendMail.cs:47)
UnityEngine.UnitySynchronizationContext:ExecuteTasks ()
Note: Issue is not reproducible if email address allows 1.0 or 1.1 connections
-
LuauLex
May 24, 2022 13:15
+1
-
MightyBox
May 03, 2022 19:39
This is an extremely urgent issue for production projects since Microsoft no longer support TLS 1.0 or 1.1. Production projects can't use Unity 2022.2 which is still in alpha at the time of writing! Please do not mark this issue as Resolved without a working solution for LTS versions!!
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Reference to a deleted GameObject becomes "None" instead of "Missing" when the GameObject is restored with undo after entering and exiting Play Mode
- Size value in Particle System Curve's tab is highlighted with selection across all tab header
- Particle System Curve's Presets window has no visual indication of what preset is selected
- Blur shader doesn't work when the "Scene Color" Node is attached to the UI "Output" Node
- Particle System Curve presets can't be scrolled and some of them can't be selected if window is too narrow to fit them all
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a11
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.1f1
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.4f1