Skip to content

Commit

Permalink
modify sender and cc email for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
ArushC committed Feb 17, 2024
1 parent 092cce2 commit 0fc03d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/mailers/application_mailer.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# frozen_string_literal: true

class ApplicationMailer < ActionMailer::Base
BJC_CONTACT = "BJC <[email protected]>"
#do not change this: my email is registered with the API key
BJC_CONTACT = "BJC <[email protected]>"
default from: BJC_CONTACT, reply_to: BJC_CONTACT
layout "mailer"
end
5 changes: 3 additions & 2 deletions app/mailers/teacher_mailer.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# frozen_string_literal: true

class TeacherMailer < ApplicationMailer
CONTACT_EMAIL = "Lauren Mock <[email protected]>"
BJC_EMAIL = "BJC <[email protected]>"
#change CONTACT_EMAIL to cc yourself on the emails that get sent out
CONTACT_EMAIL = "Arush Chhatrapati <[email protected]>"
BJC_EMAIL = "BJC <[email protected]>"

before_action :email_template
default content_type: "text/html",
Expand Down

0 comments on commit 0fc03d3

Please sign in to comment.