mirror of
https://github.com/wahyd4/ocelots.git
synced 2026-08-09 13:06:25 +10:00
9 lines
308 B
Ruby
9 lines
308 B
Ruby
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 |