Last active
August 29, 2015 14:26
-
-
Save vu2/4ab7576d4074a9a2df8d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /opt/gitlab/embedded/service/gitlab-rails | |
vim config/environments/production.rb | |
//====== 以下のように書き換える | |
config.action_mailer.delivery_method = :smtp | |
config.action_mailer.smtp_settings = { | |
:address => "smtp.gmail.com", | |
:port => 587, | |
:domain => 'gmail.com', | |
:user_name => 'Gmailのユーザー名', | |
:password => 'Gmailのパスワード', | |
:authentication => :plain, | |
:enable_starttls_auto => true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment