gitea/services/mailer
Clar Fon 036dd8a788
Rework mailer settings (#18982)
* `PROTOCOL`: can be smtp, smtps, smtp+startls, smtp+unix, sendmail, dummy
* `SMTP_ADDR`: domain for SMTP, or path to unix socket
* `SMTP_PORT`: port for SMTP; defaults to 25 for `smtp`, 465 for `smtps`, and 587 for `smtp+startls`
* `ENABLE_HELO`, `HELO_HOSTNAME`: reverse `DISABLE_HELO` to `ENABLE_HELO`; default to false + system hostname
* `FORCE_TRUST_SERVER_CERT`: replace the unclear `SKIP_VERIFY`
* `CLIENT_CERT_FILE`, `CLIENT_KEY_FILE`, `USE_CLIENT_CERT`: clarify client certificates here

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-08-02 13:24:18 +08:00
..
mail.go Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
mail_comment.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
mail_issue.go Added email notification option to receive all own messages (#20179) 2022-07-28 16:30:12 +08:00
mail_release.go Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
mail_repo.go Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
mail_test.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
mailer.go Rework mailer settings (#18982) 2022-08-02 13:24:18 +08:00
mailer_test.go refactoring nits (#18188) 2022-01-05 07:27:53 +01:00
main_test.go Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00