GeoRSS aggregator and Layar augmented reality server
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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