Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions internal/utils/send_email.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func SendActivationTokenToUser(url, email, token string) {
req := EmailRequest{
Email: []string{email},
Subject: "Activate your account",
Body: fmt.Sprintf("Your activation code for the class-connect mobile app is: %s", token),
Body: fmt.Sprintf("Your activation code for the class-connect mobile app is: <b>%s</b>", token),
}

SendEmailRequest(url, req)
Expand All @@ -32,7 +32,7 @@ func SendAccountSuccesfullyActivated(url, email, name string) {
req := EmailRequest{
Email: []string{email},
Subject: "Welcome to Class Connect!",
Body: fmt.Sprintf("Hello %s!\nYour account has been succesfully activated.\nYou now can create and join any courses on the class-connect mobile app!", name),
Body: fmt.Sprintf("Hello %s! Your account has been succesfully activated.<br>You now can create and join any courses on the class-connect mobile app!", name),
}

SendEmailRequest(url, req)
Expand All @@ -42,7 +42,7 @@ func SendPasswordResetTokenToUser(url, email, token string) {
req := EmailRequest{
Email: []string{email},
Subject: "Change your password",
Body: fmt.Sprintf("Your password recovery code for the class-connect mobile app is: %s", token),
Body: fmt.Sprintf("Your password recovery code for the class-connect mobile app is: <b>%s</b>", token),
}

SendEmailRequest(url, req)
Expand Down