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
Kazuhiko Shiozaki
gitlab-ce
Commits
584117aa
Commit
584117aa
authored
Oct 21, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'smtp_settings' of /home/git/repositories/gitlab/gitlabhq
parents
5eadd149
728f0c20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
config/initializers/smtp_settings.rb.sample
config/initializers/smtp_settings.rb.sample
+6
-6
No files found.
config/initializers/smtp_settings.rb.sample
View file @
584117aa
# To enable smtp email delivery for your GitLab instance do next:
# To enable smtp email delivery for your GitLab instance do next:
# 1. Change config/environments/production.rb to use smtp
# 1. Rename this file to smtp_settings.rb
# config.action_mailer.delivery_method = :smtp
# 2. Edit settings inside this file
# 2. Rename this file to smtp_settings.rb
# 3. Restart GitLab instance
# 3. Edit settings inside this file
# 4. Restart GitLab instance
#
#
if Gitlab::Application.config.action_mailer.delivery_method == :smtp
if Rails.env.production? do
Gitlab::Application.config.action_mailer.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
ActionMailer::Base.smtp_settings = {
address: "email.server.com",
address: "email.server.com",
port: 456,
port: 456,
...
...
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