Add ActionMailer to inform admins about new screenshots
This version only informs Christoph as a test
This commit is contained in:
parent
ae597a6235
commit
1f9187e35c
9 changed files with 55 additions and 1 deletions
|
|
@ -32,7 +32,16 @@ Rails.application.configure do
|
|||
config.active_storage.service = :local
|
||||
|
||||
# Don't care if the mailer can't send.
|
||||
config.action_mailer.raise_delivery_errors = false
|
||||
config.action_mailer.raise_delivery_errors = true
|
||||
config.action_mailer.smtp_settings = {
|
||||
address: 'localhost',
|
||||
port: 25,
|
||||
enable_starttls_auto: false
|
||||
}
|
||||
config.action_mailer.default_url_options = {
|
||||
host: "screenshots.debian.net",
|
||||
protocol: 'https'
|
||||
}
|
||||
|
||||
config.action_mailer.perform_caching = false
|
||||
|
||||
|
|
|
|||
|
|
@ -70,6 +70,16 @@ Rails.application.configure do
|
|||
|
||||
config.action_mailer.perform_caching = false
|
||||
|
||||
config.action_mailer.smtp_settings = {
|
||||
address: 'localhost',
|
||||
port: 25,
|
||||
enable_starttls_auto: false
|
||||
}
|
||||
config.action_mailer.default_url_options = {
|
||||
host: "screenshots.debian.net",
|
||||
protocol: 'https'
|
||||
}
|
||||
|
||||
# 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.
|
||||
# config.action_mailer.raise_delivery_errors = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue