GeoRSS aggregator and Layar augmented reality server
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

11 lines
356 B

  1. if(Rails.env.production?)
  2. ActionMailer::Base.smtp_settings = {
  3. :address => 'smtp.sendgrid.net',
  4. :port => '587',
  5. :authentication => :plain,
  6. :user_name => ENV['SENDGRID_USERNAME'],
  7. :password => ENV['SENDGRID_PASSWORD'],
  8. :domain => 'heroku.com'
  9. }
  10. ActionMailer::Base.delivery_method = :smtp
  11. end