@@ -1,21 +1,87 | |||||
1 | # Outgoing email settings |
|
1 | # = Outgoing email settings | |
|
2 | # | |||
|
3 | # Each environment has it's own configuration options. If you are only | |||
|
4 | # running in production, only the production block needs to be configured. | |||
|
5 | # | |||
|
6 | # == Common configurations | |||
|
7 | # | |||
|
8 | # === Sendmail command | |||
|
9 | # | |||
|
10 | # production: | |||
|
11 | # delivery_method: :sendmail | |||
|
12 | # | |||
|
13 | # === Simple SMTP server at localhost | |||
|
14 | # | |||
|
15 | # production: | |||
|
16 | # delivery_method: :smtp | |||
|
17 | # smtp_settings: | |||
|
18 | # address: "localhost" | |||
|
19 | # port: 25 | |||
|
20 | # | |||
|
21 | # === SMTP server at example.com using LOGIN authentication and checking HELO for foo.com | |||
|
22 | # | |||
|
23 | # production: | |||
|
24 | # delivery_method: :smtp | |||
|
25 | # smtp_settings: | |||
|
26 | # address: "example.com" | |||
|
27 | # port: 25 | |||
|
28 | # authentication: :login | |||
|
29 | # domain: 'foo.com' | |||
|
30 | # user_name: 'myaccount' | |||
|
31 | # password: 'password' | |||
|
32 | # | |||
|
33 | # === SMTP server at example.com using PLAIN authentication | |||
|
34 | # | |||
|
35 | # production: | |||
|
36 | # delivery_method: :smtp | |||
|
37 | # smtp_settings: | |||
|
38 | # address: "example.com" | |||
|
39 | # port: 25 | |||
|
40 | # authentication: :plain | |||
|
41 | # domain: 'example.com' | |||
|
42 | # user_name: 'myaccount' | |||
|
43 | # password: 'password' | |||
|
44 | # | |||
|
45 | # === SMTP server at using TLS (GMail) | |||
|
46 | # | |||
|
47 | # This requires some additional configuration. See the article at: | |||
|
48 | # http://redmineblog.com/articles/setup-redmine-to-send-email-using-gmail/ | |||
|
49 | # | |||
|
50 | # production: | |||
|
51 | # delivery_method: :smtp | |||
|
52 | # smtp_settings: | |||
|
53 | # tls: true | |||
|
54 | # address: "smtp.gmail.com" | |||
|
55 | # port: 587 | |||
|
56 | # domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps | |||
|
57 | # authentication: :plain | |||
|
58 | # user_name: "your_email@gmail.com" | |||
|
59 | # password: "your_password" | |||
|
60 | # | |||
|
61 | # | |||
|
62 | # == More configuration options | |||
|
63 | # | |||
|
64 | # See the "Configuration options" at the following website for a list of the | |||
|
65 | # full options allowed: | |||
|
66 | # | |||
|
67 | # http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer | |||
2 |
|
68 | |||
3 | production: |
|
69 | production: | |
4 | delivery_method: :smtp |
|
70 | delivery_method: :smtp | |
5 | smtp_settings: |
|
71 | smtp_settings: | |
6 | address: smtp.example.net |
|
72 | address: smtp.example.net | |
7 | port: 25 |
|
73 | port: 25 | |
8 | domain: example.net |
|
74 | domain: example.net | |
9 | authentication: :login |
|
75 | authentication: :login | |
10 | user_name: "redmine@example.net" |
|
76 | user_name: "redmine@example.net" | |
11 | password: "redmine" |
|
77 | password: "redmine" | |
12 |
|
78 | |||
13 | development: |
|
79 | development: | |
14 | delivery_method: :smtp |
|
80 | delivery_method: :smtp | |
15 | smtp_settings: |
|
81 | smtp_settings: | |
16 | address: 127.0.0.1 |
|
82 | address: 127.0.0.1 | |
17 | port: 25 |
|
83 | port: 25 | |
18 | domain: example.net |
|
84 | domain: example.net | |
19 | authentication: :login |
|
85 | authentication: :login | |
20 | user_name: "redmine@example.net" |
|
86 | user_name: "redmine@example.net" | |
21 | password: "redmine" |
|
87 | password: "redmine" |
General Comments 0
You need to be logged in to leave comments.
Login now