1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00

Merge pull request #422 from mjwwit/master

Change test mail subject and body to 'Gitea Test Mail!'
This commit is contained in:
Andrey Nering 2016-12-20 10:15:03 -02:00 committed by GitHub
commit 952587dbae

View file

@ -40,7 +40,7 @@ func InitMailRender(tmpls *template.Template) {
// SendTestMail sends a test mail // SendTestMail sends a test mail
func SendTestMail(email string) error { func SendTestMail(email string) error {
return gomail.Send(&mailer.Sender{}, mailer.NewMessage([]string{email}, "Gogs Test Email!", "Gogs Test Email!").Message) return gomail.Send(&mailer.Sender{}, mailer.NewMessage([]string{email}, "Gitea Test Email!", "Gitea Test Email!").Message)
} }
// SendUserMail sends a mail to the user // SendUserMail sends a mail to the user