Show More
@@ -1,30 +1,45 b'' | |||
|
1 | 1 | .. _set-up-mail: |
|
2 | 2 | |
|
3 | 3 | Set up Email |
|
4 | 4 | ------------ |
|
5 | 5 | |
|
6 | 6 | To setup email with your |RCE| instance, open the default |
|
7 | 7 | :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` |
|
8 | 8 | file and uncomment and configure the email section. If it is not there, |
|
9 | 9 | use the below example to insert it. |
|
10 | 10 | |
|
11 | 11 | Once configured you can check the settings for your |RCE| instance on the |
|
12 | 12 | :menuselection:`Admin --> Settings --> Email` page. |
|
13 | 13 | |
|
14 | Please be aware that both section should be changed the `[DEFAULT]` for main applications | |
|
15 | email config, and `[server:main]` for exception tracking email | |
|
16 | ||
|
14 | 17 | .. code-block:: ini |
|
15 | 18 | |
|
16 | ################################################################################ | |
|
17 | ## Uncomment and replace with the email address which should receive ## | |
|
18 | ## any error reports after an application crash ## | |
|
19 |
|
|
|
20 |
|
|
|
21 | #email_to = admin@localhost | |
|
19 | [DEFAULT] | |
|
20 | ; ######################################################################## | |
|
21 | ; EMAIL CONFIGURATION | |
|
22 | ; These settings will be used by the RhodeCode mailing system | |
|
23 | ; ######################################################################## | |
|
24 | ||
|
25 | ; prefix all emails subjects with given prefix, helps filtering out emails | |
|
26 | #email_prefix = [RhodeCode] | |
|
27 | ||
|
28 | ; email FROM address all mails will be sent | |
|
22 | 29 | #app_email_from = rhodecode-noreply@localhost |
|
23 | #email_prefix = [RhodeCode] | |
|
24 | 30 | |
|
25 | 31 | #smtp_server = mail.server.com |
|
26 | 32 | #smtp_username = |
|
27 | 33 | #smtp_password = |
|
28 | 34 | #smtp_port = |
|
29 | 35 | #smtp_use_tls = false |
|
30 | 36 | #smtp_use_ssl = true |
|
37 | ||
|
38 | [server:main] | |
|
39 | ; Send email with exception details when it happens | |
|
40 | #exception_tracker.send_email = true | |
|
41 | ||
|
42 | ; Comma separated list of recipients for exception emails, | |
|
43 | ; e.g admin@rhodecode.com,devops@rhodecode.com | |
|
44 | ; Can be left empty, then emails will be sent to ALL super-admins | |
|
45 | #exception_tracker.send_email_recipients = |
General Comments 0
You need to be logged in to leave comments.
Login now