diff --git a/server/utils/email.go b/server/utils/email.go index bb781d0..a8f5b58 100644 --- a/server/utils/email.go +++ b/server/utils/email.go @@ -17,94 +17,89 @@ func SendVerificationMail(toEmail, token string) error { Subject := "Please verify your email" message := fmt.Sprintf(` - + - - - - - - - - - - - + + + + + + + + + + + - -
- - - - - - - -
- - - - - - - -
-
-
- - + +
+ + + + + + + +
+ + + + + + + +
+
+
+ + `, constants.ORGANIZATION_LOGO, constants.ORGANIZATION_NAME, constants.AUTHORIZER_URL+"/verify_email"+"?token="+token) bodyMessage := sender.WriteHTMLEmail(Receiver, Subject, message) @@ -126,98 +121,91 @@ func SendForgotPasswordMail(toEmail, token, host string) error { message := fmt.Sprintf(` - + - - - - - - - - - - - + + + + + + + + + + + + + +
+ + + + + + + +
+ + + + + + + +
+
+
+ + + `, constants.ORGANIZATION_LOGO, toEmail, constants.RESET_PASSWORD_URL+"?token="+token) - -
- - - - - - - -
- - - - - - - -
-
-
- - - `, constants.ORGANIZATION_LOGO, toEmail, constants.AUTHORIZER_URL+"/verify_email"+"?token="+token) bodyMessage := sender.WriteHTMLEmail(Receiver, Subject, message) return sender.SendMail(Receiver, Subject, bodyMessage)