1
0

Add config option to force ssl connections to connect with the mailer

This commit is contained in:
kolaente
2020-07-14 17:30:39 +02:00
parent 222582fb0c
commit 092aae3260
4 changed files with 7 additions and 0 deletions

View File

@ -34,6 +34,7 @@ func getDialer() *gomail.Dialer {
InsecureSkipVerify: config.MailerSkipTLSVerify.GetBool(),
ServerName: config.MailerHost.GetString(),
}
d.SSL = config.MailerForceSSL.GetBool()
return d
}