Added Sendgrid
parent
843c11ec79
commit
937df490b8
|
@ -1,5 +1,15 @@
|
|||
# Load the Rails application.
|
||||
require File.expand_path('../application', __FILE__)
|
||||
|
||||
ActionMailer::Base.smtp_settings = {
|
||||
:address => 'smtp.sendgrid.net',
|
||||
:port => '587',
|
||||
:authentication => :plain,
|
||||
:user_name => ENV['SENDGRID_USERNAME'],
|
||||
:password => ENV['SENDGRID_PASSWORD'],
|
||||
:domain => 'heroku.com',
|
||||
:enable_starttls_auto => true
|
||||
}
|
||||
|
||||
# Initialize the Rails application.
|
||||
Rails.application.initialize!
|
||||
|
|
Loading…
Reference in New Issue