From 15e69a529efef5a1fe93858c0359e9dabbb089fd Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 21 Aug 2017 21:55:32 -0400 Subject: [PATCH] default smtp ports --- src/Core/GlobalSettings.cs | 4 ++-- util/Setup/Program.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Core/GlobalSettings.cs b/src/Core/GlobalSettings.cs index a4f8f173d3..4ea58c4c8a 100644 --- a/src/Core/GlobalSettings.cs +++ b/src/Core/GlobalSettings.cs @@ -87,8 +87,8 @@ namespace Bit.Core public class SmtpSettings { public string Host { get; set; } - public int Port { get; set; } = 587; - public bool Ssl { get; set; } = true; + public int Port { get; set; } = 25; + public bool Ssl { get; set; } = false; public string Username { get; set; } public string Password { get; set; } } diff --git a/util/Setup/Program.cs b/util/Setup/Program.cs index 79425596ec..835776d747 100644 --- a/util/Setup/Program.cs +++ b/util/Setup/Program.cs @@ -397,7 +397,7 @@ globalSettings__mail__smtp__host=REPLACE globalSettings__mail__smtp__username=REPLACE globalSettings__mail__smtp__password=REPLACE globalSettings__mail__smtp__ssl=true -globalSettings__mail__smtp__port=587"); +globalSettings__mail__smtp__port=465"); if(!_push) {