feat: add support for SMTP LocalName

Resolves #274
This commit is contained in:
Lakhan Samani
2022-10-25 08:18:29 +05:30
parent 287b952dad
commit f2fe584793
14 changed files with 123 additions and 14 deletions

View File

@@ -89,6 +89,9 @@ func EnvResolver(ctx context.Context) (*model.Env, error) {
if val, ok := store[constants.EnvKeySenderEmail]; ok {
res.SenderEmail = refs.NewStringRef(val.(string))
}
if val, ok := store[constants.EnvKeySmtpLocalName]; ok {
res.SMTPLocalName = refs.NewStringRef(val.(string))
}
if val, ok := store[constants.EnvKeyJwtType]; ok {
res.JwtType = refs.NewStringRef(val.(string))
}