-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TLS upgrade #164
Comments
It may be better to set SecurityProtocol on your code than inside SparkPost library. |
Grrr!!! Thanks Jason for the code, I had to put this above anywhere I was using the SparkPost CSharp nuget package code to send emails, as my emails have been getting lost for almost a week!!! |
@aaronclausen I second your Grrrr! If this is required to function, it needs to be handled in the library. Ran into this one today as well on our account. |
Third Grrrr!!!!! |
Thanks for this @jasonwuonline . Before, when I called Adding the following fixed it and allowed the email to be sent successfully.
|
Might need to add
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls11 | System.Net.SecurityProtocolType.Tls12;
for the system to use the new TLS version
The text was updated successfully, but these errors were encountered: