From 73631df99160c527c53fab915ed88c8d5d8f074d Mon Sep 17 00:00:00 2001 From: yocchan-git Date: Wed, 14 Feb 2024 16:55:15 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E9=80=80=E4=BC=9A=E5=AE=8C=E4=BA=86?= =?UTF-8?q?=E3=83=A1=E3=83=BC=E3=83=AB=E3=81=AEBCC=E3=81=ABinfo@lokka.jp?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/mailers/user_mailer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb index d4aa529aec1..528ca0bd7c3 100644 --- a/app/mailers/user_mailer.rb +++ b/app/mailers/user_mailer.rb @@ -14,7 +14,7 @@ def welcome(user) def retire(user) @user = user - mail to: user.email, subject: '[FBC] 退会処理が完了しました' + mail to: user.email, bcc: 'info@lokka.jp', subject: '[FBC] 退会処理が完了しました' end def auto_retire(user) From a7c63adfba6b4b83ca9c1a5cad028d3f0b2997b1 Mon Sep 17 00:00:00 2001 From: yocchan-git Date: Wed, 14 Feb 2024 17:02:18 +0900 Subject: [PATCH 2/2] =?UTF-8?q?bcc=E3=81=8C=E9=80=81=E3=82=8C=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=82=8B=E3=81=8B=E3=83=86=E3=82=B9=E3=83=88=E3=82=B3?= =?UTF-8?q?=E3=83=BC=E3=83=89=E3=82=92=E6=9B=B8=E3=81=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/mailers/user_mailer_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/mailers/user_mailer_test.rb b/test/mailers/user_mailer_test.rb index 53828861b36..1a8ad60635a 100644 --- a/test/mailers/user_mailer_test.rb +++ b/test/mailers/user_mailer_test.rb @@ -21,6 +21,7 @@ class UserMailerTest < ActionMailer::TestCase assert_not ActionMailer::Base.deliveries.empty? assert_equal ['noreply@bootcamp.fjord.jp'], email.from assert_equal ['kimura@fjord.jp'], email.to + assert_equal ['info@lokka.jp'], email.bcc assert_equal '[FBC] 退会処理が完了しました', email.subject assert_match(/ご利用いただきありがとうございました/, email.body.to_s) assert_match("#{user.name}様の今後のご活躍を心からお祈り申し上げます。", email.body.to_s)