forked from beautyjoy/BJC-Teacher-Tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modify sender and cc email for testing purposes
- Loading branch information
Showing
2 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
|