Project

General

Profile

Patch #17492 ยป improved_email_examples.patch

Priit Tamboom, 2014-07-17 11:19

View differences:

config/configuration.yml.example
6 6
#
7 7
# Note that this file needs to be a valid YAML file.
8 8
# DO NOT USE TABS! Use 2 spaces instead of tabs for identation.
9
#
9

  
10 10
# == Outgoing email settings (email_delivery setting)
11 11
#
12
# === Common configurations
13
#
14
# ==== Sendmail command
15
#
16
# production:
17
#   email_delivery:
18
#     delivery_method: :sendmail
19
#
20
# ==== Simple SMTP server at localhost
21
#
22
# production:
23
#   email_delivery:
24
#     delivery_method: :smtp
25
#     smtp_settings:
26
#       address: "localhost"
27
#       port: 25
28
#
29
# ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com
30
#
31
# production:
32
#   email_delivery:
33
#     delivery_method: :smtp
34
#     smtp_settings:
35
#       address: "example.com"
36
#       port: 25
37
#       authentication: :login
38
#       domain: 'foo.com'
39
#       user_name: 'myaccount'
40
#       password: 'password'
41
#
42
# ==== SMTP server at example.com using PLAIN authentication
43
#
44
# production:
45
#   email_delivery:
46
#     delivery_method: :smtp
47
#     smtp_settings:
48
#       address: "example.com"
49
#       port: 25
50
#       authentication: :plain
51
#       domain: 'example.com'
52
#       user_name: 'myaccount'
53
#       password: 'password'
54
#
55
# ==== SMTP server at using TLS (GMail)
56
#
57
# This might require some additional configuration. See the guides at:
58
# http://www.redmine.org/projects/redmine/wiki/EmailConfiguration
59
#
60
# production:
61
#   email_delivery:
62
#     delivery_method: :smtp
63
#     smtp_settings:
64
#       enable_starttls_auto: true
65
#       address: "smtp.gmail.com"
66
#       port: 587
67
#       domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
68
#       authentication: :plain
69
#       user_name: "your_email@gmail.com"
70
#       password: "your_password"
71
#
72
#
73
# === More configuration options
74
#
75
# See following page:
76
#
77
# http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
78

  
79

  
80 12
# default configuration options for all environments
81 13
default:
82
  # Outgoing emails configuration (see examples above)
14
  # Outgoing emails configuration (see examples below)
83 15
  email_delivery:
84 16
    delivery_method: :smtp
85 17
    smtp_settings:
......
201 133
  # allowed values: :memory, :file, :memcache
202 134
  #openid_authentication_store: :memory
203 135

  
136

  
204 137
# specific configuration options for production environment
205 138
# that overrides the default ones
206 139
production:
......
208 141
# specific configuration options for development environment
209 142
# that overrides the default ones
210 143
development:
144

  
145

  
146
# == Outgoing emails configuration examples
147
#
148
# ==== Sendmail command
149
#
150
# production:
151
#   email_delivery:
152
#     delivery_method: :sendmail
153
#
154
# ==== Simple SMTP server at localhost
155
#
156
# production:
157
#   email_delivery:
158
#     delivery_method: :smtp
159
#     smtp_settings:
160
#       address: "localhost"
161
#       port: 25
162
#
163
# ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com
164
#
165
# production:
166
#   email_delivery:
167
#     delivery_method: :smtp
168
#     smtp_settings:
169
#       address: "example.com"
170
#       port: 25
171
#       authentication: :login
172
#       domain: 'foo.com'
173
#       user_name: 'myaccount'
174
#       password: 'password'
175
#
176
# ==== SMTP server at example.com using PLAIN authentication
177
#
178
# production:
179
#   email_delivery:
180
#     delivery_method: :smtp
181
#     smtp_settings:
182
#       address: "example.com"
183
#       port: 25
184
#       authentication: :plain
185
#       domain: 'example.com'
186
#       user_name: 'myaccount'
187
#       password: 'password'
188
#
189
# ==== SMTP server at using TLS (GMail)
190
#
191
# This might require some additional configuration. See the guides at:
192
# http://www.redmine.org/projects/redmine/wiki/EmailConfiguration
193
#
194
# production:
195
#   email_delivery:
196
#     delivery_method: :smtp
197
#     smtp_settings:
198
#       enable_starttls_auto: true
199
#       address: "smtp.gmail.com"
200
#       port: 587
201
#       domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
202
#       authentication: :plain
203
#       user_name: "your_email@gmail.com"
204
#       password: "your_password"
205
#
206
#
207
# === More configuration options
208
#
209
# See following page:
210
#
211
# http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
    (1-1/1)