1
0

feat: migrate away from gomail

This commit is contained in:
kolaente
2022-06-19 15:57:00 +02:00
committed by Gitea
parent 12557163b2
commit 30e0e98f77
5 changed files with 65 additions and 83 deletions

View File

@ -96,6 +96,7 @@ const (
MailerPort Key = `mailer.port`
MailerUsername Key = `mailer.username`
MailerPassword Key = `mailer.password`
MailerAuthType Key = `mailer.authtype`
MailerSkipTLSVerify Key = `mailer.skiptlsverify`
MailerFromEmail Key = `mailer.fromemail`
MailerQueuelength Key = `mailer.queuelength`
@ -325,6 +326,7 @@ func InitDefaultConfig() {
MailerQueuelength.setDefault(100)
MailerQueueTimeout.setDefault(30)
MailerForceSSL.setDefault(false)
MailerAuthType.setDefault("plain")
// Redis
RedisEnabled.setDefault(false)
RedisHost.setDefault("localhost:6379")