Merge pull request '[BRANDING] Gitea to Forgejo in test email' (#1358) from firefly-cpp/forgejo:mailer-code into forgejo-branding

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1358
This commit is contained in:
Earl Warren 2023-08-29 20:26:24 +00:00
commit f87722a818

View file

@ -61,7 +61,7 @@ func SendTestMail(email string) error {
// No mail service configured // No mail service configured
return nil return nil
} }
return gomail.Send(Sender, NewMessage(email, "Gitea Test Email!", "Gitea Test Email!").ToMessage()) return gomail.Send(Sender, NewMessage(email, "Forgejo Test Email!", "Forgejo Test Email!").ToMessage())
} }
// sendUserMail sends a mail to the user // sendUserMail sends a mail to the user