Explorar el Código

change test mail subject and body to 'Gitea Test Mail!'

Signed-off-by: Michael de Wit <mjwwit@gmail.com>
tags/v1.0.0
Michael de Wit hace 7 años
padre
commit
1d30457a94
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      models/mail.go

+ 1
- 1
models/mail.go Ver fichero

@@ -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

Cargando…
Cancelar
Guardar