|
|
@ -51,6 +51,7 @@ Rails.application.configure do |
|
|
|
|
|
|
|
|
# Replace the default in-process and non-durable queuing backend for Active Job. |
|
|
# Replace the default in-process and non-durable queuing backend for Active Job. |
|
|
# config.active_job.queue_adapter = :resque |
|
|
# config.active_job.queue_adapter = :resque |
|
|
|
|
|
config.active_job.queue_adapter = :sidekiq |
|
|
|
|
|
|
|
|
# Ignore bad email addresses and do not raise email delivery errors. |
|
|
# Ignore bad email addresses and do not raise email delivery errors. |
|
|
# Set this to true and configure the email server for immediate delivery to raise delivery errors. |
|
|
# Set this to true and configure the email server for immediate delivery to raise delivery errors. |
|
|
@ -59,12 +60,12 @@ Rails.application.configure do |
|
|
config.action_mailer.delivery_method = :smtp |
|
|
config.action_mailer.delivery_method = :smtp |
|
|
|
|
|
|
|
|
# Set host to be used by links generated in mailer templates. |
|
|
# Set host to be used by links generated in mailer templates. |
|
|
config.action_mailer.default_url_options = { host: 'completesentences.ikeafoundation.org', protocol: 'https' } |
|
|
|
|
|
|
|
|
config.action_mailer.default_url_options = { host: 'ikea-foundation-week-2026.onc.dk', protocol: 'https' } |
|
|
|
|
|
|
|
|
config.action_mailer.smtp_settings = { |
|
|
config.action_mailer.smtp_settings = { |
|
|
address: 'smtp.bluepipe.net', |
|
|
address: 'smtp.bluepipe.net', |
|
|
port: 25, |
|
|
port: 25, |
|
|
domain: 'completesentences.ikeafoundation.org' |
|
|
|
|
|
|
|
|
domain: 'ikea-foundation-week-2026.onc.dk' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# Specify outgoing SMTP server. Remember to add smtp/* credentials via rails credentials:edit. |
|
|
# Specify outgoing SMTP server. Remember to add smtp/* credentials via rails credentials:edit. |
|
|
|