Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
890f1478
Commit
890f1478
authored
Mar 03, 2015
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add link to smtp documentation.
parent
8e7e77e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
config/initializers/smtp_settings.rb.sample
config/initializers/smtp_settings.rb.sample
+4
-1
No files found.
config/initializers/smtp_settings.rb.sample
View file @
890f1478
...
@@ -3,6 +3,9 @@
...
@@ -3,6 +3,9 @@
# 2. Edit settings inside this file
# 2. Edit settings inside this file
# 3. Restart GitLab instance
# 3. Restart GitLab instance
#
#
# For full list of options and their values see http://api.rubyonrails.org/classes/ActionMailer/Base.html
#
if Rails.env.production?
if Rails.env.production?
Gitlab::Application.config.action_mailer.delivery_method = :smtp
Gitlab::Application.config.action_mailer.delivery_method = :smtp
...
@@ -14,6 +17,6 @@ if Rails.env.production?
...
@@ -14,6 +17,6 @@ if Rails.env.production?
domain: "gitlab.company.com",
domain: "gitlab.company.com",
authentication: :login,
authentication: :login,
enable_starttls_auto: true,
enable_starttls_auto: true,
openssl_verify_mode: '
none'
openssl_verify_mode: '
peer' # See ActionMailer documentation for other possible options
}
}
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment