Skip to content

Commit 5f8226a

Browse files
Merge pull request #102 from nacchan99/update/rails7-mailgun-port-2525
Mailgun の SMTP ポート設定を 2525 に更新(11〜14章)
2 parents 2081774 + 2d92e5b commit 5f8226a

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

7_0/ch11/config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
host = '<あなたのRenderアプリ名>.onrender.com'
7272
config.action_mailer.default_url_options = { host: host }
7373
ActionMailer::Base.smtp_settings = {
74-
:port => 587,
74+
:port => 2525,
7575
:address => 'smtp.mailgun.org',
7676
:user_name => ENV['MAILGUN_SMTP_LOGIN'],
7777
:password => ENV['MAILGUN_SMTP_PASSWORD'],

7_0/ch12/config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
host = '<あなたのRenderアプリ名>.onrender.com'
7272
config.action_mailer.default_url_options = { host: host }
7373
ActionMailer::Base.smtp_settings = {
74-
:port => 587,
74+
:port => 2525,
7575
:address => 'smtp.mailgun.org',
7676
:user_name => ENV['MAILGUN_SMTP_LOGIN'],
7777
:password => ENV['MAILGUN_SMTP_PASSWORD'],

7_0/ch13/config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
host = '<あなたのRenderアプリ名>.onrender.com'
7272
config.action_mailer.default_url_options = { host: host }
7373
ActionMailer::Base.smtp_settings = {
74-
:port => 587,
74+
:port => 2525,
7575
:address => 'smtp.mailgun.org',
7676
:user_name => ENV['MAILGUN_SMTP_LOGIN'],
7777
:password => ENV['MAILGUN_SMTP_PASSWORD'],

7_0/ch14/config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
host = '<あなたのRenderアプリ名>.onrender.com'
7272
config.action_mailer.default_url_options = { host: host }
7373
ActionMailer::Base.smtp_settings = {
74-
:port => 587,
74+
:port => 2525,
7575
:address => 'smtp.mailgun.org',
7676
:user_name => ENV['MAILGUN_SMTP_LOGIN'],
7777
:password => ENV['MAILGUN_SMTP_PASSWORD'],

0 commit comments

Comments
 (0)