Skip to content

Commit

Permalink
Some updates to local SMTP settings - not working yet
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Neufeld committed Jul 30, 2009
1 parent d74387e commit b3c4ce4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
1 change: 1 addition & 0 deletions config/environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 6 additions & 11 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b3c4ce4

Please sign in to comment.