diff --git a/config/environment.rb b/config/environment.rb index abc9a62..6b962f9 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -34,6 +34,7 @@ config.gem 'ferret' config.gem 'fastercsv' config.gem 'calendar_date_select' + config.gem 'collectiveidea-delayed_job', :lib => 'delayed_job' , :source => "http://gems.github.com" # Only load the plugins named here, in the order given. By default, all plugins diff --git a/config/environments/development.rb b/config/environments/development.rb index b35bb65..124e929 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -16,15 +16,10 @@ # Don't care if the mailer can't send config.action_mailer.raise_delivery_errors = true -require 'smtp-tls' load 'config/secret.rb' -config.action_mailer.smtp_settings = { - # :enable_starttls_auto => true, - :address => 'smtp.gmail.com', - :port => 587, - :domain => 'gmail.com', - :authentication => :plain, - :user_name => 'cohort.crm', - :password => SECRET_PASSWORD, - :dev_mailto => 'neufelry+cohort@gmail.com' -} +require 'smtp-tls' +config.action_mailer.delivery_method = :smtp +config.action_mailer.perform_deliveries = true +config.action_mailer.default_charset = "utf-8" +config.action_mailer.default_content_type = "text/plain" +config.action_mailer.smtp_settings = MY_SMTP_SETTINGS \ No newline at end of file