Update Sender
This commit is contained in:
parent
8a786cd69b
commit
cd1073d46a
@ -45,7 +45,7 @@ func (s ServiceImpl) sendEmail(ctx context.Context, tmpl *template.Template, par
|
||||
|
||||
payload := brevo.SendSmtpEmail{
|
||||
Sender: &brevo.SendSmtpEmailSender{
|
||||
Email: "siregaraditya@gmail.com",
|
||||
Email: param.Sender,
|
||||
},
|
||||
To: []brevo.SendSmtpEmailTo{
|
||||
{
|
||||
|
||||
@ -131,6 +131,7 @@ func (u *AuthServiceImpl) SendPasswordResetLink(ctx context.Context, email strin
|
||||
|
||||
// Prepare the email notification parameters
|
||||
renewPasswordRequest := entity.SendEmailNotificationParam{
|
||||
Sender: u.emailCfg.Sender,
|
||||
Recipient: email,
|
||||
Subject: u.emailCfg.ResetPassword.Subject,
|
||||
TemplateName: u.emailCfg.ResetPassword.TemplateName,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user