mirror of
https://github.com/edcommonwealth/ecp.org.git
synced 2026-03-17 11:16:27 -07:00
Swap out contact form to one that uses mailgun
This commit is contained in:
parent
6df92d6f88
commit
7f433cf223
17 changed files with 130 additions and 70 deletions
|
|
@ -90,4 +90,14 @@ Rails.application.configure do
|
|||
|
||||
# Do not dump schema after migrations.
|
||||
config.active_record.dump_schema_after_migration = false
|
||||
|
||||
ActionMailer::Base.smtp_settings = {
|
||||
:port => ENV['MAILGUN_SMTP_PORT'],
|
||||
:address => ENV['MAILGUN_SMTP_SERVER'],
|
||||
:user_name => ENV['MAILGUN_SMTP_LOGIN'],
|
||||
:password => ENV['MAILGUN_SMTP_PASSWORD'],
|
||||
:domain => 'edcommonwealth.org', # UPDATE THIS VALUE WITH YOUR OWN APP
|
||||
:authentication => :plain,
|
||||
}
|
||||
ActionMailer::Base.delivery_method = :smtp
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue