Explorar el Código

Actually fix mail

Maarten van den Berg %!s(int64=7) %!d(string=hace) años
padre
commit
dfc3605ff9
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  1. 7 1
      config/environments/production.rb

+ 7 - 1
config/environments/production.rb

@@ -85,7 +85,13 @@ 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.mailgun_settings = {
88
+  config.action_mailer.smtp_settings = {
89
+    address: 'localhost',
90
+    port: 25,
91
+    openssl_verify_mode: OpenSSL::SSL::VERIFY_NONE,
89 92
     domain: 'mail.maartenberg.nl'
90 93
   }
94
+  config.action_mailer.default_options = {
95
+    from: 'Aardbei <aardbei@maartenberg.nl>'
96
+  }
91 97
 end