mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 03:29:43 +02:00
Test mailer button. Addresses #1531
This commit is contained in:
1 parent
d324500959
commit
c27038e392
6 files changed
+708
-907
No files matched your search
@@ -183,3 +183,9 @@ func SendCollaboratorMail(r macaron.Render, u, doer *models.User, repo *models.R
|
||||
SendAsync(msg)
|
||||
return nil
|
||||
}
|
||||
|
||||
func SendTestMail(u *models.User) {
|
||||
msg := NewMessage([]string{u.Email}, "Gogs Test Email!", "Gogs Test Email!")
|
||||
|
||||
SendAsync(msg)
|
||||
}
|
||||
Reference in new issue
Block a user