From 9d30ecfc69500a1099fb38d67afaca0d590ae276 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Wed, 24 Jun 2020 22:14:04 +0200 Subject: [PATCH] docs: updated email config section --- docs/install/setup-email.rst | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/docs/install/setup-email.rst b/docs/install/setup-email.rst index ed60e2cd..ab0190d1 100644 --- a/docs/install/setup-email.rst +++ b/docs/install/setup-email.rst @@ -11,20 +11,35 @@ use the below example to insert it. Once configured you can check the settings for your |RCE| instance on the :menuselection:`Admin --> Settings --> Email` page. +Please be aware that both section should be changed the `[DEFAULT]` for main applications +email config, and `[server:main]` for exception tracking email + .. code-block:: ini - ################################################################################ - ## Uncomment and replace with the email address which should receive ## - ## any error reports after an application crash ## - ## Additionally these settings will be used by the RhodeCode mailing system ## - ################################################################################ - #email_to = admin@localhost - #app_email_from = rhodecode-noreply@localhost + [DEFAULT] + ; ######################################################################## + ; EMAIL CONFIGURATION + ; These settings will be used by the RhodeCode mailing system + ; ######################################################################## + + ; prefix all emails subjects with given prefix, helps filtering out emails #email_prefix = [RhodeCode] + ; email FROM address all mails will be sent + #app_email_from = rhodecode-noreply@localhost + #smtp_server = mail.server.com #smtp_username = #smtp_password = #smtp_port = #smtp_use_tls = false #smtp_use_ssl = true + + [server:main] + ; Send email with exception details when it happens + #exception_tracker.send_email = true + + ; Comma separated list of recipients for exception emails, + ; e.g admin@rhodecode.com,devops@rhodecode.com + ; Can be left empty, then emails will be sent to ALL super-admins + #exception_tracker.send_email_recipients =