From 0695fba0c4a8425fb81c707d0f8d70c5f57b05ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=A4dler?= Date: Wed, 10 Apr 2024 21:29:05 +0200 Subject: [PATCH] Configure mailgun for europe --- config/environments/production.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 29c8023..3c74f73 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -82,7 +82,8 @@ Rails.application.configure do config.action_mailer.delivery_method = :mailgun config.action_mailer.mailgun_settings = { api_key: ENV.fetch('MAILGUN_API_KEY'), - domain: ENV.fetch('MAILGUN_DOMAIN') + domain: ENV.fetch('MAILGUN_DOMAIN'), + api_host: 'api.eu.mailgun.net' # Uncomment this line for EU region domains } # Logging to STDOUT (running in docker by default)