From: Aidan Cornelius-Bell Date: Mon, 23 Sep 2024 01:07:25 +0000 (+0930) Subject: fixed prod email settings X-Git-Url: https://gitweb.mndrdr.org/?a=commitdiff_plain;h=065b257e2a779a1a9997ceb8169dae392d4bf218;p=arelpe.git fixed prod email settings --- diff --git a/config/environments/production.rb b/config/environments/production.rb index a2d4a91..1dc8766 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -84,13 +84,15 @@ Rails.application.configure do port: ENV['SMTP_PORT'], user_name: ENV['SMTP_USERNAME'], password: ENV['SMTP_PASSWORD'], - host: 'acb.boo', authentication: 'plain', enable_starttls: true } config.action_mailer.default_options = { from: "mind reader " } + config.action_mailer.default_url_options = { + host: 'acb.boo' + } # Enable locale fallbacks for I18n (makes lookups for any locale fall back to # the I18n.default_locale when a translation cannot be found).