From cbbf31f1d55203a4c9ef1d926557f481ecce6616 Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Wed, 16 Jul 2025 17:48:12 +0000 Subject: [PATCH] Provide a hint for ENABLE_NOTIFY_MAIL in email setup (#246) * some people like me might wonder why the email-setup didn't work While reviewing https://github.com/go-gitea/gitea/pull/34982#pullrequestreview-3013995449, I enabled the mailer the first time and found this solution in the debugger not in the docs. Co-authored-by: Lunny Xiao Reviewed-on: https://gitea.com/gitea/docs/pulls/246 Reviewed-by: Lunny Xiao Co-authored-by: ChristopherHX Co-committed-by: ChristopherHX --- docs/administration/email-setup.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/administration/email-setup.md b/docs/administration/email-setup.md index 902174e3..91f93f02 100644 --- a/docs/administration/email-setup.md +++ b/docs/administration/email-setup.md @@ -10,6 +10,8 @@ aliases: Gitea has mailer functionality for sending transactional emails (such as registration confirmation). It can be configured to either use Sendmail (or compatible MTAs like Postfix and msmtp) or directly use SMTP server. +:::note Be sure to set ENABLE_NOTIFY_MAIL=true to allow Gitea to send email notifications. Check the [Config Cheat Sheet](../administration/config-cheat-sheet.md#service-service) for details. + ## Using Sendmail Use `sendmail` command as mailer.