Skip to content

Commit

Permalink
edit application.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
lodewiges committed Nov 12, 2024
1 parent f979180 commit b9ca75a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/jobs/user_archive_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def create_global_archive_user

User.create!(id: ARCHIVE_USER_ID,
username: 'archived.user',
email: '[email protected]',
email: <%= Rails.application.config.x.ict_email %>,
first_name: 'Gearchiveerde',
last_name: 'Gebruiker',
address: 'Onbekend',
Expand Down
2 changes: 1 addition & 1 deletion app/views/mail_bounce_mailer/address_unknown.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
U heeft geprobeerd een mail te versturen naar een @csvalpha.nl mailadres. Deze kan helaas niet bezorgd worden. Het gebruikte mailadres <b><%= @to %></b> is namelijk niet in gebruik. Controleer het mailadres nogmaals.
<br/><br/>

Mocht u zeker zijn dat het mailadres klopt of niet weten welk mailadres u moet gebruiken kunt u mailen naar <%= Rails.application.config.x.mailbeheer_email %>
Mocht u zeker zijn dat het mailadres klopt of niet weten welk mailadres u moet gebruiken kunt u mailen naar <a href="mailto:<%= Rails.application.config.x.ict_email %>" style="color: #adb5bd"><%= Rails.application.config.x.ict_email %></a>
4 changes: 2 additions & 2 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ class Application < Rails::Application

config.x.healthcheck_ids = credentials.dig(Rails.env.to_sym, :healthcheck_ids)

config.x.noreply_email = ENV.fetch('NOREPLY_EMAIL', 'noreply@example.com')
config.x.noreply_email = ENV.fetch('NOREPLY_EMAIL', 'no-reply@example.com')
config.x.ict_email = ENV.fetch('ICT_EMAIL', '[email protected]')
config.x.bestuur_email = ENV.fetch('BESTUUR_EMAIL', '[email protected]')
config.x.privacy_email = ENV.fetch('PRIVACY_EMAIL', '[email protected]')
config.x.mailbeheer_email = ENV.fetch('PRIVACY_EMAIL', '[email protected]')
end
end

0 comments on commit b9ca75a

Please sign in to comment.