aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/environments/production.rb4
-rw-r--r--config/general.yml-example6
2 files changed, 5 insertions, 5 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 73ee9d783..af2ca15b9 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -18,9 +18,9 @@ Alaveteli::Application.configure do
# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false
- config.action_mailer.delivery_method = AlaveteliConfiguration::mailer_delivery_method.to_sym
+ config.action_mailer.delivery_method = AlaveteliConfiguration::production_mailer_delivery_method.to_sym
- if AlaveteliConfiguration::mailer_delivery_method.to_sym == :smtp
+ if AlaveteliConfiguration::production_mailer_delivery_method.to_sym == :smtp
config.action_mailer.smtp_settings = {
:address => AlaveteliConfiguration::smtp_mailer_address,
:port => AlaveteliConfiguration.smtp_mailer_port,
diff --git a/config/general.yml-example b/config/general.yml-example
index 9c13f1c82..88d89958d 100644
--- a/config/general.yml-example
+++ b/config/general.yml-example
@@ -787,11 +787,11 @@ RESPONSIVE_STYLING: true
#
# As a string this is coerced into a symbol in config/environments/production.rb
#
-# MAILER_DELIVERY_METHOD - String (default: sendmail)
+# PRODUCTION_MAILER_DELIVERY_METHOD - String (default: sendmail)
#
# Examples:
#
-# MAILER_DELIVERY_METHOD: smtp
+# PRODUCTION_MAILER_DELIVERY_METHOD: smtp
# SMTP_MAILER_ADDRESS: smtp.gmail.com
# SMTP_MAILER_PORT: 587
# SMTP_MAILER_DOMAIN: example.com
@@ -800,5 +800,5 @@ RESPONSIVE_STYLING: true
# SMTP_MAILER_AUTHENTICATION: 'plain'
# SMTP_MAILER_ENABLE_STARTTLS_AUTO: true
# ---
-MAILER_DELIVERY_METHOD: sendmail
+PRODUCTION_MAILER_DELIVERY_METHOD: sendmail