Show More
@@ -1,30 +1,45 b'' | |||||
1 | .. _set-up-mail: |
|
1 | .. _set-up-mail: | |
2 |
|
2 | |||
3 | Set up Email |
|
3 | Set up Email | |
4 | ------------ |
|
4 | ------------ | |
5 |
|
5 | |||
6 | To setup email with your |RCE| instance, open the default |
|
6 | To setup email with your |RCE| instance, open the default | |
7 | :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` |
|
7 | :file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` | |
8 | file and uncomment and configure the email section. If it is not there, |
|
8 | file and uncomment and configure the email section. If it is not there, | |
9 | use the below example to insert it. |
|
9 | use the below example to insert it. | |
10 |
|
10 | |||
11 | Once configured you can check the settings for your |RCE| instance on the |
|
11 | Once configured you can check the settings for your |RCE| instance on the | |
12 | :menuselection:`Admin --> Settings --> Email` page. |
|
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 | .. code-block:: ini |
|
17 | .. code-block:: ini | |
15 |
|
18 | |||
16 | ################################################################################ |
|
19 | [DEFAULT] | |
17 | ## Uncomment and replace with the email address which should receive ## |
|
20 | ; ######################################################################## | |
18 | ## any error reports after an application crash ## |
|
21 | ; EMAIL CONFIGURATION | |
19 |
|
|
22 | ; These settings will be used by the RhodeCode mailing system | |
20 |
|
|
23 | ; ######################################################################## | |
21 | #email_to = admin@localhost |
|
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 | #app_email_from = rhodecode-noreply@localhost |
|
29 | #app_email_from = rhodecode-noreply@localhost | |
23 | #email_prefix = [RhodeCode] |
|
|||
24 |
|
30 | |||
25 | #smtp_server = mail.server.com |
|
31 | #smtp_server = mail.server.com | |
26 | #smtp_username = |
|
32 | #smtp_username = | |
27 | #smtp_password = |
|
33 | #smtp_password = | |
28 | #smtp_port = |
|
34 | #smtp_port = | |
29 | #smtp_use_tls = false |
|
35 | #smtp_use_tls = false | |
30 | #smtp_use_ssl = true |
|
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