adopt-a-hydrant/config/initializers/smtp_settings.rb

9 lines
275 B
Ruby
Raw Normal View History

2011-05-16 00:28:15 +00:00
ActionMailer::Base.smtp_settings = {
:address => "smtp.sendgrid.net",
:port => "25",
:authentication => :plain,
:user_name => ENV['SENDGRID_USERNAME'],
:password => ENV['SENDGRID_PASSWORD'],
:domain => ENV['SENDGRID_DOMAIN']
}