# HG changeset patch # User Marcin Kuzminski # Date 2020-06-24 20:14:04 # Node ID f1bd6e54ab3b6cc660f7d7d5a0c482f849b930f9 # Parent a05a39ec95cadda15224a7521afeeb0d76c06094 docs: updated email config section diff --git a/docs/install/setup-email.rst b/docs/install/setup-email.rst --- a/docs/install/setup-email.rst +++ b/docs/install/setup-email.rst @@ -11,16 +11,22 @@ 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 + [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 - #email_prefix = [RhodeCode] #smtp_server = mail.server.com #smtp_username = @@ -28,3 +34,12 @@ Once configured you can check the settin #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 =