From 0fc03d3ab4524d003a44da4aef836562df6dd388 Mon Sep 17 00:00:00 2001 From: Arush Chhatrapati Date: Fri, 16 Feb 2024 22:57:54 -0800 Subject: [PATCH] modify sender and cc email for testing purposes --- app/mailers/application_mailer.rb | 3 ++- app/mailers/teacher_mailer.rb | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index d4a17d1c..475525d9 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -1,7 +1,8 @@ # frozen_string_literal: true class ApplicationMailer < ActionMailer::Base - BJC_CONTACT = "BJC " + #do not change this: my email is registered with the API key + BJC_CONTACT = "BJC " default from: BJC_CONTACT, reply_to: BJC_CONTACT layout "mailer" end diff --git a/app/mailers/teacher_mailer.rb b/app/mailers/teacher_mailer.rb index 4acb1634..e1b2cbc4 100644 --- a/app/mailers/teacher_mailer.rb +++ b/app/mailers/teacher_mailer.rb @@ -1,8 +1,9 @@ # frozen_string_literal: true class TeacherMailer < ApplicationMailer - CONTACT_EMAIL = "Lauren Mock " - BJC_EMAIL = "BJC " + #change CONTACT_EMAIL to cc yourself on the emails that get sent out + CONTACT_EMAIL = "Arush Chhatrapati " + BJC_EMAIL = "BJC " before_action :email_template default content_type: "text/html",