Skip to content

Commit

Permalink
smtp in production
Browse files Browse the repository at this point in the history
  • Loading branch information
Yi Wen authored and Yi Wen committed Sep 3, 2008
1 parent 6bac56d commit c96e1c8
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 9 deletions.
10 changes: 1 addition & 9 deletions config/environments/development.rb
Expand Up @@ -14,12 +14,4 @@
config.action_controller.perform_caching = false

# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = true
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
:user_name => "test.wen@gmail.com",
:password => "p@s5w0rd",
:authentication => :plain
}
config.action_mailer.raise_delivery_errors = false
9 changes: 9 additions & 0 deletions config/environments/production.rb
Expand Up @@ -20,3 +20,12 @@

# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
:user_name => "test.wen@gmail.com",
:password => "p@s5w0rd",
:authentication => :plain
}

Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.

0 comments on commit c96e1c8

Please sign in to comment.