diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index adac65bb..2a8a7753 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true class ApplicationMailer < ActionMailer::Base - default from: "noreply@student.ugent.be" + default from: "noreply@zeus.gent" end diff --git a/config/environments/production.rb b/config/environments/production.rb index 77bc876b..0559112f 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -64,7 +64,12 @@ config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { - address: 'smtprelay.ugent.be', + address: 'flanagan.zeus.gent', + port: 465, + user_name: 'admin', + password: ENV["SMTP_PASSWORD"], + tls: true, + authentication: "plain", open_timeout: 5, read_timeout: 5 }