Mailer config for sendgrid add-on
parent
405d15b568
commit
03e0c59e37
@ -0,0 +1,9 @@
|
||||
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
|
Loading…
Reference in New Issue