Skip to content

Commit

Permalink
Improved email messages
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLazarescu committed Feb 22, 2024
1 parent 66ad61c commit 9655a2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Application/Utility/EmailSender.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public async Task SendEmailConfirmationEmail(User user, string token)
message.Subject = "Confirm Your Email";

message.Body = new TextPart ("plain") {
Text = $"Hello { userName }.\n\nThank you for choosing Librum! " +
Text = $"Hello { userName },\n\nThank you for choosing Librum! " +
"We are happy to tell you, that your account has successfully been created. " +
"The final step remaining is to confirm it, and you're all set to go.\n" +
$"To confirm your email, please click the link below:\n{confirmationLink}\n\n" +
Expand Down Expand Up @@ -87,7 +87,7 @@ public async Task SendPasswordResetEmail(User user, string token)
message.Subject = "Reset Your Password";

message.Body = new TextPart ("plain") {
Text = $"Hello { userName }.\n\nYou can find the link to reset your password below. " +
Text = $"Hello { userName },\n\nYou can find the link to reset your password below. " +
"Follow the link and continue the password reset on our website.\n" +
$"{resetLink}\n\n" +
"If you didn't request this email, just ignore it."
Expand Down

0 comments on commit 9655a2e

Please sign in to comment.