Permalink
Browse files

fixing configs

  • Loading branch information...
1 parent 9f37493 commit fb6fd2abdb9594a1b885fd655bbe27a29fb6775e Anand Agrawal committed Jul 16, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 config/environments/production.rb
@@ -47,7 +47,7 @@
# Send deprecation notices to registered listeners
config.active_support.deprecation = :notify
- config.action_mailer.default_url_options = { :host => 'localhost:3000' }
+ config.action_mailer.default_url_options = { :host => 'lender.play.railsplayground.net' }
config.action_mailer.delivery_method = :smtp
config.action_mailer.perform_deliveries = true
config.action_mailer.raise_delivery_errors = true
@@ -56,8 +56,9 @@
ActionMailer::Base.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
+ :enable_starttls_auto => true,
:authentication => :plain,
- :domain => "lender.madhu@gmail.com",
+ :domain => "lender.play.railsplayground.net",
:user_name => "lender.madhu@gmail.com",
:password => "LenderMadhu",
}

0 comments on commit fb6fd2a

Please sign in to comment.