fix: email sender and template (#3633)

This commit is contained in:
Livio Amstutz
2022-05-16 09:52:10 +02:00
committed by GitHub
parent d0c1ad2c69
commit 4fcf03c9c8
3 changed files with 5 additions and 3 deletions

View File

@@ -36,7 +36,9 @@ func InitSMTPChannel(ctx context.Context, getSMTPConfig func(ctx context.Context
logging.New().Debug("successfully initialized smtp email channel")
return &Email{
smtpClient: client,
smtpClient: client,
senderName: smtpConfig.FromName,
senderAddress: smtpConfig.From,
}, nil
}