mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Enable SSL was ignored
This commit is contained in:
parent
437f27f107
commit
ead67887ab
@ -2,7 +2,7 @@
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
<Version>1.0.2.24</Version>
|
||||
<Version>1.0.2.25</Version>
|
||||
<NoWarn>NU1701,CA1816,CA1308,CA1810,CA2208</NoWarn>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
|
@ -55,7 +55,7 @@ namespace BTCPayServer.Services.Mails
|
||||
public SmtpClient CreateSmtpClient()
|
||||
{
|
||||
SmtpClient client = new SmtpClient(Server, Port.Value);
|
||||
client.EnableSsl = true;
|
||||
client.EnableSsl = EnableSSL;
|
||||
client.UseDefaultCredentials = false;
|
||||
client.Credentials = new NetworkCredential(Login, Password);
|
||||
client.DeliveryMethod = SmtpDeliveryMethod.Network;
|
||||
|
Loading…
Reference in New Issue
Block a user