mirror of
https://github.com/go-gitea/gitea
synced 2024-11-21 22:51:10 +01:00
Merge pull request #422 from mjwwit/master
Change test mail subject and body to 'Gitea Test Mail!'
This commit is contained in:
commit
952587dbae
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue