asciinema.org/config/initializers/mail.rb

10 lines
309 B
Ruby
Raw Normal View History

2012-06-10 12:59:58 +00:00
ActionMailer::Base.smtp_settings = {
:address => 'smtp.sendgrid.net',
:port => '587',
:authentication => :plain,
:user_name => ENV['SENDGRID_USERNAME'],
:password => ENV['SENDGRID_PASSWORD'],
:domain => 'heroku.com'
}
ActionMailer::Base.delivery_method = :smtp