feat: enable default smtp config on setup (#3622)

* feat: enable default smtp config on setup

* fix tests

* fix channel order

Co-authored-by: Fabi <[email protected]>
This commit is contained in:
Livio Amstutz
2022-05-13 12:13:07 +00:00
committed by GitHub
co-authored by Fabi
parent 5571db3e1b
commit 024eedc1b5
15 changed files with 261 additions and 159 deletions
@@ -483,6 +483,7 @@ func (n *Notification) getSMTPConfig(ctx context.Context) (*smtp.EmailConfig, er
return &smtp.EmailConfig{
From: config.SenderAddress,
FromName: config.SenderName,
Tls: config.TLS,
SMTP: smtp.SMTP{
Host: config.Host,
User: config.User,