From 2d92e5bdfbf95956ccc2d73d7a84a7caa1e30015 Mon Sep 17 00:00:00 2001 From: nacchan Date: Fri, 28 Nov 2025 16:10:03 +0900 Subject: [PATCH] =?UTF-8?q?7=E7=89=88:=20Mailgun=20=E3=81=AE=20SMTP=20?= =?UTF-8?q?=E3=83=9D=E3=83=BC=E3=83=88=E8=A8=AD=E5=AE=9A=E3=82=92=202525?= =?UTF-8?q?=20=E3=81=AB=E6=9B=B4=E6=96=B0=EF=BC=8811=E3=80=9C14=E7=AB=A0?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 7_0/ch11/config/environments/production.rb | 2 +- 7_0/ch12/config/environments/production.rb | 2 +- 7_0/ch13/config/environments/production.rb | 2 +- 7_0/ch14/config/environments/production.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/7_0/ch11/config/environments/production.rb b/7_0/ch11/config/environments/production.rb index 8bc035b8..e801299d 100644 --- a/7_0/ch11/config/environments/production.rb +++ b/7_0/ch11/config/environments/production.rb @@ -71,7 +71,7 @@ host = '<あなたのRenderアプリ名>.onrender.com' config.action_mailer.default_url_options = { host: host } ActionMailer::Base.smtp_settings = { - :port => 587, + :port => 2525, :address => 'smtp.mailgun.org', :user_name => ENV['MAILGUN_SMTP_LOGIN'], :password => ENV['MAILGUN_SMTP_PASSWORD'], diff --git a/7_0/ch12/config/environments/production.rb b/7_0/ch12/config/environments/production.rb index 8bc035b8..e801299d 100644 --- a/7_0/ch12/config/environments/production.rb +++ b/7_0/ch12/config/environments/production.rb @@ -71,7 +71,7 @@ host = '<あなたのRenderアプリ名>.onrender.com' config.action_mailer.default_url_options = { host: host } ActionMailer::Base.smtp_settings = { - :port => 587, + :port => 2525, :address => 'smtp.mailgun.org', :user_name => ENV['MAILGUN_SMTP_LOGIN'], :password => ENV['MAILGUN_SMTP_PASSWORD'], diff --git a/7_0/ch13/config/environments/production.rb b/7_0/ch13/config/environments/production.rb index b124cdd6..7a9cc7e8 100644 --- a/7_0/ch13/config/environments/production.rb +++ b/7_0/ch13/config/environments/production.rb @@ -71,7 +71,7 @@ host = '<あなたのRenderアプリ名>.onrender.com' config.action_mailer.default_url_options = { host: host } ActionMailer::Base.smtp_settings = { - :port => 587, + :port => 2525, :address => 'smtp.mailgun.org', :user_name => ENV['MAILGUN_SMTP_LOGIN'], :password => ENV['MAILGUN_SMTP_PASSWORD'], diff --git a/7_0/ch14/config/environments/production.rb b/7_0/ch14/config/environments/production.rb index b124cdd6..7a9cc7e8 100644 --- a/7_0/ch14/config/environments/production.rb +++ b/7_0/ch14/config/environments/production.rb @@ -71,7 +71,7 @@ host = '<あなたのRenderアプリ名>.onrender.com' config.action_mailer.default_url_options = { host: host } ActionMailer::Base.smtp_settings = { - :port => 587, + :port => 2525, :address => 'smtp.mailgun.org', :user_name => ENV['MAILGUN_SMTP_LOGIN'], :password => ENV['MAILGUN_SMTP_PASSWORD'],