diff options
author | Stan Hu <stanhu@gmail.com> | 2016-06-28 14:27:02 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-06-28 14:27:40 +0300 |
commit | 3be80540aa61cf030f86163534a3a5a63a7fb30e (patch) | |
tree | 53b892a4f89da98d9ed1a0e661dd2c0e2f473958 /doc/update/8.8-to-8.9.md | |
parent | c9a46263336dd38aef90b71995e2790be72d441d (diff) |
Add SMTP upgrade information
Closes #19252
[ci skip]
Diffstat (limited to 'doc/update/8.8-to-8.9.md')
-rw-r--r-- | doc/update/8.8-to-8.9.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/update/8.8-to-8.9.md b/doc/update/8.8-to-8.9.md index f14046bb4be..423140a92c7 100644 --- a/doc/update/8.8-to-8.9.md +++ b/doc/update/8.8-to-8.9.md @@ -122,6 +122,19 @@ via [/etc/default/gitlab]. [Apache templates]: https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/web-server/apache [/etc/default/gitlab]: https://gitlab.com/gitlab-org/gitlab-ce/blob/8-9-stable/lib/support/init.d/gitlab.default.example#L37 +#### SMTP configuration + +If you're installing from source and use SMTP to deliver mail, you will need to add the following line +to config/initializers/smtp_settings.rb: + +```ruby +ActionMailer::Base.delivery_method = :smtp +``` + +See [smtp_settings.rb.sample] as an example. + +[smtp_settings.rb.sample]: https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.9.0/config/initializers/smtp_settings.rb.sample#L13 + #### Init script Ensure you're still up-to-date with the latest init script changes: |