From 2371f587051ee861f60c77fba8b2156ad50d2937 Mon Sep 17 00:00:00 2001 From: Mike Arpaia Date: Tue, 10 Jan 2017 19:51:40 -0700 Subject: [PATCH] Remember to enable SMTP after configuring it (#882) --- server/service/service_appconfig.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/service/service_appconfig.go b/server/service/service_appconfig.go index 962332ac03..f9d5e31a97 100644 --- a/server/service/service_appconfig.go +++ b/server/service/service_appconfig.go @@ -74,7 +74,8 @@ func (svc service) ModifyAppConfig(ctx context.Context, p kolide.AppConfigPayloa message: err.Error(), } } - newConfig.SMTPConfigured = (err == nil) + newConfig.SMTPConfigured = true + newConfig.SMTPEnabled = true // if testing is indicated we don't persist anything, otherwise // email is marked as unconfigured