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:
parent
560f786b8b
commit
2510972a83
3 changed files with 20 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue