setup-email.rst
45 lines
| 1.5 KiB
| text/x-rst
|
RstLexer
r1 | .. _set-up-mail: | |||
Set up Email | ||||
------------ | ||||
r3290 | To setup email with your |RCE| instance, open the default | |||
r1 | :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` | |||
file and uncomment and configure the email section. If it is not there, | ||||
use the below example to insert it. | ||||
r3290 | Once configured you can check the settings for your |RCE| instance on the | |||
r1 | :menuselection:`Admin --> Settings --> Email` page. | |||
r4413 | Please be aware that both section should be changed the `[DEFAULT]` for main applications | |||
email config, and `[server:main]` for exception tracking email | ||||
r1 | .. code-block:: ini | |||
r4413 | [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 | ||||
r1 | #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 | ||||
r4413 | ||||
[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 = | ||||