Hi, we have local smtp server which is configured to receive only connections with TLS 1.2 (for secure reason), is possibility to use exact that version in Your email client in notification process step?
We are using System.Mail.Net.SmtpClient to send notification e-mails. I’ve had a quick look and I can’t see any way to configure an exact TLS version.
In Octopus 3.1 we updated to .NET 4.5 which supports TLS 1.2. It may be that you will need to use Octopus 3.1 in order to get TLS 1.2 connections to your SMTP server?
Please let me know if this helps.
Simply way to do this is set protocol in ServicePointManager:
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
But is global settings so maybe it can be hard to Yours solution.
Now I have litle soluton: I create template script in C# where I send email via SmtpClient with ServicePointManager.SecurityProtocol flag, and it work fine
How can I check what the SMTP server being used for email notification in Octopus Deploy? Can somebody please help me.