Skip to content

Commit

Permalink
Improved explanation about mail settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mischa78 committed Jun 20, 2011
1 parent f7c54fa commit d078aed
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Expand Up @@ -40,10 +40,10 @@ Follow the these steps:
Mail settings
-------------
Boxroom sends email when users want to reset their password or when they share files.
For this to work, you have op to open `config/environments/production.rb`, uncomment
For this to work, depending on your environment, you have op to open
`config/environments/development.rb` or `config/environments/production.rb`, uncomment
the following lines and fill in the correct settings of your mail server:

# config.action_mailer.default_url_options = { :host => 'localhost:3000' }
# config.action_mailer.delivery_method = :smtp
# config.action_mailer.smtp_settings = {
# :address => 'mailhost',
Expand All @@ -53,6 +53,11 @@ the following lines and fill in the correct settings of your mail server:
# :authentication => 'plain'
# }

In order for Boxroom to send a user to the correct URL for either downloading a shared
file or resetting passwords, you have to uncomment and update the following:

# config.action_mailer.default_url_options = { :host => 'localhost:3000' }

You also have to choose a from address for the emails that will be sent. You can do
this by uncommenting and adjusting the following line:

Expand Down

0 comments on commit d078aed

Please sign in to comment.