File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ default: &default
77 mail_confirm_email : <%= ENV["CONFIRM_EMAIL"] || "baker-library@berkeley.edu" %>
88 mail_privdesk_email : <%= ENV["PRIVDESK_EMAIL"] || "privdesk-library@berkeley.edu" %>
99 mail_security_email : <%= ENV["SECURITY_EMAIL"] || "libsecurity@lists.berkeley.edu" %>
10+ mail_smtp_domain : <%= ENV["MAIL_DOMAIN"] || "lib.berkeley.edu" %>
1011 mail_smtp_password : <%= ENV["MAIL_PASSWORD"] %>
1112 mail_smtp_username : <%= ENV["MAIL_USERNAME"] || "lib-noreply@berkeley.edu" %>
1213 # $PATRON_API_URL is set in https://git.lib.berkeley.edu/ops/docker-swarm/blob/master/files/production/swarm/stacks/framework.yml
Original file line number Diff line number Diff line change 8585 config . action_mailer . smtp_settings = {
8686 address : 'smtp.gmail.com' ,
8787 port : '587' ,
88- domain : 'lib.berkeley.edu' ,
88+ domain : config . altmedia [ 'mail_smtp_domain' ] ,
8989 user_name : config . altmedia [ 'mail_smtp_username' ] ,
9090 password : config . altmedia [ 'mail_smtp_password' ] ,
9191 authentication : 'plain' ,
You can’t perform that action at this time.
0 commit comments