This commit is contained in:
eson 2023-09-05 15:53:04 +08:00
parent 63937ea358
commit 1c107ab960
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,6 @@
Subject: Password Reset Request for Your {{ .CompanyName }} Account Subject: Password Reset
Request for Your {{ .CompanyName }} Account
Dear {{ .UserName }}, Dear {{ .UserName }},
@ -6,7 +8,7 @@ We have received your request to reset the password for your {{ .CompanyName }}
Please click the button below to confirm your new password: Please click the button below to confirm your new password:
<a href="{{ .ConfirmationLink }}" target="_blank" style="background-color: #008CBA; color: #FFFFFF; text-decoration: none; padding: 10px 15px; border-radius: 3px; font-weight: bold;">Confirm New Password</a> <a href="{{ .ConfirmationLink }}" target="_blank" style="background-color: #008CBA; color: #FFFFFF; text-decoration: none; padding: 10px 15px; border-radius: 3px; font-weight: bold;">Open ResetPassword Page</a>
This password reset confirmation link will expire in 60 minutes. Please let us know if you have any other questions! This password reset confirmation link will expire in 60 minutes. Please let us know if you have any other questions!

View File

@ -34,7 +34,7 @@ func init() {
EmailManager = &EmailSender{ EmailManager = &EmailSender{
EmailTasks: make(chan *EmailFormat, 10), EmailTasks: make(chan *EmailFormat, 10),
Auth: smtp.PlainAuth( Auth: smtp.PlainAuth(
"", "fusen support",
"support@fusenpack.com", "support@fusenpack.com",
"wfbjpdgvaozjvwah", "wfbjpdgvaozjvwah",
"smtp.gmail.com", "smtp.gmail.com",