Browse Source

Revert "Actually fix mail"

This reverts commit dfc3605ff9085b95b699b51dd07aa8344d49bc03.
Maarten van den Berg 7 years ago
parent
commit
4c8456768a
1 changed files with 1 additions and 7 deletions
  1. 1 7
      config/environments/production.rb

+ 1 - 7
config/environments/production.rb

@@ -85,13 +85,7 @@ Rails.application.configure do
85 85
   config.active_record.dump_schema_after_migration = false
86 86
 
87 87
   config.action_mailer.delivery_method = :smtp
88
-  config.action_mailer.smtp_settings = {
89
-    address: 'localhost',
90
-    port: 25,
91
-    openssl_verify_mode: OpenSSL::SSL::VERIFY_NONE,
88
+  config.action_mailer.mailgun_settings = {
92 89
     domain: 'mail.maartenberg.nl'
93 90
   }
94
-  config.action_mailer.default_options = {
95
-    from: 'Aardbei <aardbei@maartenberg.nl>'
96
-  }
97 91
 end