Mention ENABLE_NOTIFY_MAIL in email setup

It seems like this is the option almost everyone setting email up for
their instance will want to enable, so it seemed worth mentioning in the
email setup guide.

(cherry picked from commit 075d17a76b)
This commit is contained in:
Petar Kapriš 2025-04-10 21:48:14 +02:00 committed by Earl Warren
parent 569015494f
commit a71feac194

View file

@ -25,6 +25,8 @@ Restart Forgejo for the configuration changes to take effect.
To send a test email to validate the settings, go to Forgejo > Site Administration > Configuration > SMTP Mailer Configuration.
To enable users to receive email notifications for pull requests or issues, you can set `ENABLE_NOTIFY_MAIL=true` in the configuration.
For the full list of options check the [Config Cheat Sheet](../config-cheat-sheet/#mailer-mailer).
> **NOTE:** authentication is only supported when the SMTP server communication is encrypted with TLS or `HOST=localhost`. This is due to protections imposed by the Go internal libraries against STRIPTLS attacks. TLS encryption can be through: