1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Allow SMTP config to specify FQDN of sending server

/cc @backba
This commit is contained in:
Harvey Kandola 2019-02-28 12:31:02 +00:00
parent 560f786b8b
commit 2510972a83
3 changed files with 20 additions and 2 deletions

View file

@ -56,5 +56,7 @@ func GetSMTPConfig(s *store.Store) (c smtp.Config) {
c.SkipSSLVerify, _ = strconv.ParseBool(verifySSL)
c.SkipSSLVerify = true
c.SenderFQDN, _ = s.Setting.Get("SMTP", "fqdn")
return
}