質問編集履歴
2
情報の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -118,6 +118,78 @@
|
|
118
118
|
|
119
119
|
|
120
120
|
|
121
|
+
gitlab_rails['smtp_enable'] = true
|
122
|
+
|
123
|
+
gitlab_rails['smtp_address'] = "smtp.gmail.com"
|
124
|
+
|
125
|
+
gitlab_rails['smtp_port'] = 587
|
126
|
+
|
127
|
+
gitlab_rails['smtp_user_name'] = "my.email@gmail.com"
|
128
|
+
|
129
|
+
gitlab_rails['smtp_password'] = "my-gmail-password"
|
130
|
+
|
131
|
+
gitlab_rails['smtp_domain'] = "smtp.gmail.com"
|
132
|
+
|
133
|
+
gitlab_rails['smtp_authentication'] = "login"
|
134
|
+
|
135
|
+
gitlab_rails['smtp_enable_starttls_auto'] = true
|
136
|
+
|
137
|
+
gitlab_rails['smtp_tls'] = false
|
138
|
+
|
139
|
+
gitlab_rails['smtp_openssl_verify_mode'] = 'peer' # Can be: 'none', 'peer
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
を参照に
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
```
|
148
|
+
|
149
|
+
host = 'http://54.178.31.60'
|
150
|
+
|
151
|
+
user_email = ENV["GOOGLE_USER_NAME"]
|
152
|
+
|
153
|
+
password = ENV["GOOGLE_PASSWORD"]
|
154
|
+
|
155
|
+
Rails.application.routes.default_url_options[:host] = host
|
156
|
+
|
157
|
+
config.action_mailer.raise_delivery_errors = true
|
158
|
+
|
159
|
+
config.action_mailer.delivery_method = :smtp
|
160
|
+
|
161
|
+
config.action_mailer.smtp_settings = {
|
162
|
+
|
163
|
+
enable: true,
|
164
|
+
|
165
|
+
address: 'smtp.gmail.com',
|
166
|
+
|
167
|
+
port: 587,
|
168
|
+
|
169
|
+
domain: 'gmail.com',
|
170
|
+
|
171
|
+
authentication: :login,
|
172
|
+
|
173
|
+
user_name: user_email,
|
174
|
+
|
175
|
+
password: password,
|
176
|
+
|
177
|
+
enable_starttls_auto: true,
|
178
|
+
|
179
|
+
openssl_verify_mode: 'peer',
|
180
|
+
|
181
|
+
ssl: 465,
|
182
|
+
|
183
|
+
tls: false
|
184
|
+
|
185
|
+
}
|
186
|
+
|
187
|
+
```
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
この様な設定にしました
|
192
|
+
|
121
193
|
### 補足情報(FW/ツールのバージョンなど)
|
122
194
|
|
123
195
|
|
1
情報の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,7 +14,15 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
を解決したい
|
17
|
+
を解決したいです。
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
新規会員登録をした際に、このようなエラーが出ました。
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
18
26
|
|
19
27
|
|
20
28
|
|