Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Commit

Permalink
Add bcc to the authorization email sent from the VRR
Browse files Browse the repository at this point in the history
  • Loading branch information
VivianChu committed Sep 17, 2019
1 parent 37fd280 commit 686fe9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/mailers/auth_mailer.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

class AuthMailer < ApplicationMailer
default from: 'spcoll-request@ucsd.edu'
default from: 'spcoll-request@ucsd.edu', bcc: 'spcoll-request@ucsd.edu'
# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:
#
Expand Down
1 change: 1 addition & 0 deletions spec/mailers/auth_mailer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
expect(mail.subject).to eq("Access to UC San Diego SC&A Virtual Reading Room")
expect(mail.to).to eq(["test@example.com"])
expect(mail.from).to eq(["spcoll-request@ucsd.edu"])
expect(mail.bcc).to eq(["spcoll-request@ucsd.edu"])
end

it "renders the body" do
Expand Down

0 comments on commit 686fe9e

Please sign in to comment.