GeoRSS aggregator and Layar augmented reality server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mail.rb 356 B

1234567891011
  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