Commit a1cb219055390ae872e2d47ef38767a13a452532
1 parent
17b3505a
Exists in
master
and in
1 other branch
setting correct gmail configuration
Showing
2 changed files
with
3 additions
and
2 deletions
Show diff stats
1 | thoughtbot-clearance --version '>= 0.6.8' --source gems.github.com | 1 | thoughtbot-clearance --version '>= 0.6.8' --source gems.github.com |
2 | RedCloth --version '= 4.1.1' | 2 | RedCloth --version '= 4.1.1' |
3 | mislav-will_paginate --version '~> 2.3.11' --source gems.github.com | 3 | mislav-will_paginate --version '~> 2.3.11' --source gems.github.com |
4 | +ambethia-smtp-tls --version '1.1.2' --source gems.github.com | ||
4 | 5 |
config/initializers/mail.rb
1 | +require 'smtp-tls' | ||
2 | + | ||
1 | ActionMailer::Base.smtp_settings = { | 3 | ActionMailer::Base.smtp_settings = { |
2 | - :tls => true, | ||
3 | :address => "smtp.gmail.com", | 4 | :address => "smtp.gmail.com", |
4 | :port => "587", | 5 | :port => "587", |
5 | - :domain => "heroku.com", | ||
6 | :authentication => :plain, | 6 | :authentication => :plain, |
7 | :user_name => "YOUREMAIL", | 7 | :user_name => "YOUREMAIL", |
8 | :password => "YOURPASSWORD" | 8 | :password => "YOURPASSWORD" |