forgejo/services/mailer
zeripath 162c32af7e
Send registration email on user autoregistration (#16523)
When users login and are autoregistered send email notification.

Fix #16178

* Protect public functions within the mailer by testing if the mailer is configured

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
2021-08-12 10:26:33 +03:00
..
mail.go Send registration email on user autoregistration (#16523) 2021-08-12 10:26:33 +03:00
mail_comment.go Send registration email on user autoregistration (#16523) 2021-08-12 10:26:33 +03:00
mail_issue.go Send registration email on user autoregistration (#16523) 2021-08-12 10:26:33 +03:00
mail_release.go Send registration email on user autoregistration (#16523) 2021-08-12 10:26:33 +03:00
mail_repo.go Send registration email on user autoregistration (#16523) 2021-08-12 10:26:33 +03:00
mail_test.go Add email headers (#15939) 2021-05-22 14:47:16 +08:00
mailer.go
main_test.go