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",