Configure sendgrid
This commit is contained in:
parent
f35322c264
commit
fd797f4fd1
|
@ -60,3 +60,12 @@ AdoptAThing::Application.configure do
|
||||||
# Send deprecation notices to registered listeners
|
# Send deprecation notices to registered listeners
|
||||||
config.active_support.deprecation = :notify
|
config.active_support.deprecation = :notify
|
||||||
end
|
end
|
||||||
|
|
||||||
|
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']
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue