mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-07 22:47:41 +00:00
fix: email sender and template (#3633)
This commit is contained in:
parent
d0c1ad2c69
commit
4fcf03c9c8
File diff suppressed because one or more lines are too long
@ -36,7 +36,9 @@ func InitSMTPChannel(ctx context.Context, getSMTPConfig func(ctx context.Context
|
|||||||
logging.New().Debug("successfully initialized smtp email channel")
|
logging.New().Debug("successfully initialized smtp email channel")
|
||||||
|
|
||||||
return &Email{
|
return &Email{
|
||||||
smtpClient: client,
|
smtpClient: client,
|
||||||
|
senderName: smtpConfig.FromName,
|
||||||
|
senderAddress: smtpConfig.From,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -273,7 +273,7 @@
|
|||||||
align="center" bgcolor="{{.PrimaryColor}}" role="presentation" style="border:none;border-radius:6px;cursor:auto;mso-padding-alt:10px 25px;background:{{.PrimaryColor}};" valign="middle"
|
align="center" bgcolor="{{.PrimaryColor}}" role="presentation" style="border:none;border-radius:6px;cursor:auto;mso-padding-alt:10px 25px;background:{{.PrimaryColor}};" valign="middle"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="{{.URL}}" rel="noopener noreferrer" style="display:inline-block;background:{{.PrimaryColor}};color:#ffffff;font-family:{{.FontFamily}};font-size:14px;font-weight:500;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;mso-padding-alt:0px;border-radius:6px;" target="_blank"
|
href="{{.URL}}" rel="noopener noreferrer notrack" style="display:inline-block;background:{{.PrimaryColor}};color:#ffffff;font-family:{{.FontFamily}};font-size:14px;font-weight:500;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;mso-padding-alt:0px;border-radius:6px;" target="_blank"
|
||||||
>
|
>
|
||||||
{{.ButtonText}}
|
{{.ButtonText}}
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user