forked from forgejo/forgejo
Test mailer button. Addresses #1531
This commit is contained in:
parent
d324500959
commit
c27038e392
6 changed files with 708 additions and 907 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue