spec/tang_app/config/environment.rb in tang-0.0.1 vs spec/tang_app/config/environment.rb in tang-0.0.8

- old
+ new

@@ -1,5 +1,15 @@ # Load the Rails application. require File.expand_path('../application', __FILE__) # Initialize the Rails application. Rails.application.initialize! + +ActionMailer::Base.smtp_settings = { + user_name: ENV['SENDGRID_USERNAME'], + password: ENV['SENDGRID_PASSWORD'], + domain: 'tangapp.herokuapp.com', + address: 'smtp.sendgrid.net', + port: 587, + authentication: :plain, + enable_starttls_auto: true +} \ No newline at end of file