Browse Source

Merge pull request #422 from mjwwit/master

Change test mail subject and body to 'Gitea Test Mail!'
release/v1.0
Andrey Nering 6 years ago
committed by GitHub
parent
commit
952587dbae
  1. 2
      models/mail.go

2
models/mail.go

@ -40,7 +40,7 @@ func InitMailRender(tmpls *template.Template) {
// SendTestMail sends a test mail
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

Loading…
Cancel
Save